Permalink
Browse files

use map: in MethodDef

  • Loading branch information...
1 parent 3ce8231 commit 9fbc6094ca5f9c09cc044524328e4f34d403c5b9 @bakkdoor committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/compiler/ast/method_def.fy
@@ -83,7 +83,7 @@ class Fancy AST {
class MethodArgs : Rubinius AST FormalArguments {
def initialize: @line args: @array ([]) {
- initialize(@line, @array map() |a| { a to_sym() }, nil, nil)
+ initialize(@line, @array map: @{ to_sym }, nil, nil)
}
}
}

0 comments on commit 9fbc609

Please sign in to comment.