Commit Graph
2 Commits
Author SHA1 Message Date
Andew Jones 3b448427fb fix: propagate error through nested fiber callers in try blocks
Move the aborted fiber check before the already-called check in runFiber to catch errors earlier. In runtimeError, walk the caller chain to find the nearest fiber with callerIsTrying set, properly propagating errors through nested fiber calls. Add test cases for two and three levels of nested fiber try blocks.
2017-03-31 01:57:29 +00:00
Andew Jones 6fa769beeb feat: add split and replace methods to String class with tests and docs 2017-03-08 02:12:03 +00:00