Commits

Anonymous committed 42aa264

Yes, there is a Self AST node. A few tests actually pass now.

Comments (0)

Files changed (1)

src/velo/parser.rb

       debug "parsing ident"
       ident = @scanner.text
       @scanner.scan
-      # XXX is there a Self I can use??
-      return Lookup.new(nil, ident)
+      return Lookup.new(Self.new, ident)
     else
       raise VeloSyntaxError, "unexpected '#{@scanner.text}'"
     end