fix array and hash constants, now seperated out

This commit is contained in:
Torsten Ruger
2015-10-09 17:29:24 +03:00
parent dff0e8fab4
commit b424306156
7 changed files with 34 additions and 40 deletions

View File

@ -1,7 +1,6 @@
{ foo => 33 }
-- -- --
s(:expressions,
s(:hash,
s(:assoc,
s(:name, :foo),
s(:int, 33))))
s(:hash,
s(:assoc,
s(:name, :foo),
s(:int, 33)))

View File

@ -1,7 +1,6 @@
{ foo => true }
-- -- --
s(:expressions,
s(:hash,
s(:assoc,
s(:name, :foo),
s(:true))))
s(:hash,
s(:assoc,
s(:name, :foo),
s(:true)))

View File

@ -1,10 +1,9 @@
{foo => 33 , bar => 42}
-- -- --
s(:expressions,
s(:hash,
s(:assoc,
s(:name, :foo),
s(:int, 33)),
s(:assoc,
s(:name, :bar),
s(:int, 42))))
s(:hash,
s(:assoc,
s(:name, :foo),
s(:int, 33)),
s(:assoc,
s(:name, :bar),
s(:int, 42)))