Skip to content

Commit

Permalink
remove auto-sig from ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet authored and ingy@ingy.net committed Jun 1, 2013
1 parent 6536c81 commit 4fdfffe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion lib/testml/runtime.rb
Expand Up @@ -126,7 +126,6 @@ def run_call call, context=nil
name = call.name
callable =
@function.getvar(name) ||
get_point(name) ||
lookup_callable(name) ||
fail("Can't locate '#{name}' callable")
if callable.kind_of? TestML::Object
Expand Down
3 changes: 1 addition & 2 deletions test/testml/function.tml
Expand Up @@ -22,8 +22,7 @@ Label = '$BlockLabel'

test1(*fruit, *color, *thing)

# XXX aocole suggests yanking the auto-sig feature.
test2 = {
test2 = (color, thing) {
thing ~~ color
}

Expand Down

0 comments on commit 4fdfffe

Please sign in to comment.