Hi! I found a some strange behaviour, and I don’t ...
# compiler
i
Hi! I found a some strange behaviour, and I don’t understand why its happening. Maybe someone can explain it. Or maybe it’s a bug, I don’t know… It’s a working example: https://pl.kotl.in/ocRtqR-cQ?theme=darcula&readOnly=true It’s not: https://pl.kotl.in/qXhhA_gTe?theme=darcula&readOnly=true All difference between them that I have one ULong property instead of Long and Kotlin throws an error in Kotlin Playground:
Copy code
Exception in thread "main" java.lang.ClassFormatError: Too many arguments in method signature in class file NotWorkingClass
 at java.lang.ClassLoader.defineClass1 (:-2) 
 at java.lang.ClassLoader.defineClass (:-1) 
 at java.security.SecureClassLoader.defineClass (:-1)
It happens in real app too, but with a different error, smth like this
[0xFFFFFFFF] invalid arg count (0) in range invoke
It looks like a compiler bug for me
Created issue, it’s a a valid bug