Open JeremyGrieshop opened 1 year ago
The return true; here should return true from the function, f:
return true;
true
f
#!/usr/bin/env afw function f(x) { switch (x) { case 1: return true; } return false; } assert(f(1) === true);
Remove skip in /workspaces/afw/src/afw/tests/language/script/switch.as test: switch-return-fn when fixed.
The
return true;
here should returntrue
from the function,f
: