Add Fiber.try().
This commit is contained in:
@@ -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'.
|
||||
Reference in New Issue
Block a user