MX2: Crash instead of syntax error

Monkey Forums/Monkey Bug Reports/MX2: Crash instead of syntax error

Pharmhaus(Posted 2015) [#1]
Well, it was late and I did a small typo writing some monkey 2 code. This seems to crash the monkey 2 parser instead of throwing a syntax error.

Using std


Class Other

	Method IamAMethod:void()
		
	End
End
 
Class Abc
	
	Method DoSomething:void(other:Other)
		Other.IamAMethod() ' Should throw syntax error but causes crash 
	End
End

Function Main()
	New Abc().DoSomething()
End