Add Fiber.try().

This commit is contained in:
Bob Nystrom
2014-10-15 06:36:42 -07:00
parent 24967ed4eb
commit f6cbb6ad75
13 changed files with 162 additions and 37 deletions
+7
View File
@@ -0,0 +1,7 @@
var fiber = new Fiber {
"s".unknown
}
IO.print(fiber.error) // expect: null
IO.print(fiber.try) // expect: String does not implement method 'unknown'.
IO.print(fiber.error) // expect: String does not implement method 'unknown'.