GTDummyExamples class
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 + anInteger

The old Parser complains about the class name "MessageNotUnderstood" used
as a pragma
argument without being a string or symbol

Opal does not complain

Is Opals behavior intended ?



>From squeaks bugtracker : http://bugs.squeak.org/view.php?id=7770

Cascading message sends to super.

Compiler refuses to compile
super
    initialize;
    setListProperties


It looks like Opal would compile this to

super initialize.
super setListProperties.

Intended ? Do we want to keep it?

NBNativeCodeGen
parseOptions: optionsArray
uses association symbol -> block instead of block -> block
for caseOf arguments.
The old parser does not accept this.

Reply via email to