https://kotlinlang.org logo
#getting-started
Title
# getting-started
s

semoro

10/05/2016, 2:27 PM
No penalty here, check bytecode
Copy code
L1
    LINENUMBER 12 L1
    LDC 2.5
    DSTORE 1
    NOP
   L2
    LINENUMBER 14 L2
    NEW Vec2
    DUP
    DLOAD 1
    D2F
    DLOAD 1
    D2F
    INVOKESPECIAL Vec2.<init> (FF)V