Weird parse/compile error

Monkey Forums/Monkey Bug Reports/Weird parse/compile error

DruggedBunny(Posted 2013) [#1]
I typo'd and got this interesting error:

Identifier 'y' not found - perhaps you meant 'y'?


' Runnable example...

Class Rocket

	Field x:Float, y:Float
	Field xs:Float, ys:Float
	Field ang:Float, angspeed:Float
	
End

Function Main ()

	Local r:Rocket = New Rocket

	r.x = 1 ' A variable in the real code, causes same error tho'
	r.y - 1 ' Typo!

End