On 20 Nov 2015, at 22:37, Nicolai Hess <nicolaihess@gmail.com> wrote:Is Opals behavior intended ?Opal does not complainargument without being a string or symbolGTDummyExamples classThe old Parser complains about the class name "MessageNotUnderstood" used as a pragma
d: anInteger
������ <gtExample>
������ <label: 'Dummy #d:, depends #c:'>
������ <description: 'should raise an exception as the argument is not anInteger'>
������ <depends: #c:>
������ <raises: Literal constant expected -> MessageNotUnderstood>
������
������ ^ 1 + anIntegerit actually is compiled as a literal��� maybe the idea was that it follows how literal arrays work? #(thisisasymbol).But yes, it it confusing and should be changed.Intended ?super setListProperties.super initialize.It looks like Opal would compile this toFrom squeaks bugtracker : http://bugs.squeak.org/view.php?id=7770
Cascading message sends to super.
Compiler refuses to compile
super
��������initialize;
��������setListPropertiesWe just use RBParser (or started with RBParser). I think it is intended.Do we want to keep it?Yes, I actually like it.The old parser does not accept this.for caseOf arguments.NBNativeCodeGenuses association symbol -> block instead of block -> block
parseOptions: optionsArrayI would say that we change it to be like the old and change set one user.Marcus