[bug] Compiler bug or feature?

stéphane ducasse ducasse at iam.unibe.ch
Thu May 11 16:40:49 UTC 2006


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