String toInt() bug

String toInt() bug:

		var n = "12".toInt()
		print (n) // n is a garbage value for example one time it was 35438857536910304

I encountered this bug in RemObjects Elements with Visual Studio 2015 - 9.3.103.2211.exe
using .NET Framework version 4.51

Hmm, i wasnt aware we even had toInt() in Swift Base Library. I‘ll have a look tomorrow, what target platform is this on. .NET?

Workaround would be to use Int32.Parse, on .NET, or Convert.ToString on any platform, with Elements RTL.