Permalink
Browse files

more helpful error message for undefined #bytecode

  • Loading branch information...
1 parent 8b6691d commit d7aed80fb1841a4fb3512f74a6302a4979753140 Alex Suraci committed Nov 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/atomy/ast/node.rb
View
@@ -588,7 +588,7 @@ class Node < Rubinius::AST::Node
extend SentientNode
def bytecode(g)
- raise "no #bytecode for #{self.class.name}"
+ raise "no #bytecode for #{to_sexp}"
end
end

0 comments on commit d7aed80

Please sign in to comment.