[bug] Compiler bug or feature?
Pascal Zumkehr
zumkehr at students.unibe.ch
Fri May 12 09:02:46 UTC 2006
What about:
DummyForCompiler compile: 'testOnce: aString twice: aString'
That might be a feature, but I wouldn't mind a warning message...
Am 11.05.2006 um 18:40 schrieb stéphane ducasse:
> The compiler is terrible.
> I could not write tests controlling the error handling.
>
>> Object compile: 'test123: 123'
>> Object compile: 'testString: ''string'''
>> Object compile: 'testSymbol: #symbol'
>
> Ok I was in a meeting but still...
>
>
> testPseudoAsArguments
> "self run: #testPseudoAsArguments"
>
> self should: [ DummyForCompiler compile: 'test123: 123' ] raise:
> Error.
> self should: [ DummyForCompiler compile: 'testString: ''string''' ]
> raise: Error.
> self should: [ DummyForCompiler compile: 'testSymbol: #symbol' ]
> raise: Error.
>
More information about the Squeak-dev
mailing list
|