Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix weird symbol/keyword (true, false, nil) mixup.

  • Loading branch information...
commit 7a7802b58e4dc660a97cdd23e8b09faf1463eb75 1 parent 7cb60f8
@tsion tsion authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/apricot/ast/literals.rb
View
4 lib/apricot/ast/literals.rb
@@ -62,6 +62,10 @@ def bytecode(g)
pos(g)
g.push_literal @value
end
+
+ def to_value
+ @value
+ end
end
class StringLiteral < Literal
Please sign in to comment.
Something went wrong with that request. Please try again.