small fixes, wown parse for class test

This commit is contained in:
Torsten Ruger
2014-06-02 13:45:08 +03:00
parent 83d4ce55ca
commit 1cff296ab5
3 changed files with 23 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ module Fragments
expr = part.compile( @object_space.context , @object_space.main )
else
expr = part.compile( @object_space.context , nil )
raise "should be function definition for now" unless expr.is_a? Vm::Function
raise "should be function definition for now, not #{part.inspect}#{expr.inspect}" unless expr.is_a? Vm::Function
end
end
end