retiring ClassField and class_field from typed layer

Creating classes is the responsibility of melon
This commit is contained in:
Torsten Ruger
2016-12-16 19:05:49 +02:00
parent dd6dede6ef
commit f8cefcde3c
9 changed files with 19 additions and 50 deletions

View File

@ -13,7 +13,7 @@ class HelloTest < MiniTest::Test
end
def test_string_put
@input = s(:statements, s(:class, :Object, s(:derives, nil),
@input = s(:statements, s(:class, :Space, s(:derives, nil),
s(:statements, s(:function, :Integer, s(:name, :main), s(:parameters),
s(:statements, s(:return, s(:call, s(:name, :putstring), s(:arguments),
s(:receiver, s(:string, "Hello again\\n")))))))))