Convert all fns to block arg syntax.
This commit is contained in:
@@ -4,9 +4,7 @@ class Base {
|
||||
|
||||
class Derived is Base {
|
||||
getClosure {
|
||||
return fn {
|
||||
return super.toString
|
||||
}
|
||||
return new Fn { super.toString }
|
||||
}
|
||||
|
||||
toString { return "Derived" }
|
||||
|
||||
Reference in New Issue
Block a user