Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Information:Kotlin: kotlinc-js 1.3.21 (JRE 1.8.0_171-b11)
  2. Information:Kotlin: kotlinc-jvm 1.3.21 (JRE 1.8.0_171-b11)
  3. Information:Modules "data2vizandroid.timeFormat.d2v-timeFormat-common.main", "data2vizandroid.shape.d2v-shape-common.main", "data2vizandroid.force.d2v-force-jfx", "data2vizandroid.dsv.d2v-dsv-js", "data2vizandroid.dsv.d2v-dsv-jvm.main" and 215 others were fully rebuilt due to project configuration/dependencies changes
  4. Information:2019-04-26 19:24 - Build completed with 1 error and 38 warnings in 38 s 210 ms
  5. Error:Kotlin: [Internal Error] java.lang.IllegalStateException: Backend Internal error: Exception during code generation
  6. Cause: Back-end (JVM) Internal error: wrong code generated
  7. org.jetbrains.kotlin.codegen.CompilationException Back-end (JVM) Internal error: Couldn't transform method node:
  8. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  9.  @Lorg/jetbrains/annotations/Nullable;() // invisible
  10.    // annotable parameter count: 1 (visible)
  11.    // annotable parameter count: 1 (invisible)
  12.    @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  13.   L0
  14.    INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  15.   L1
  16.    LINENUMBER 41 L1
  17.    ASTORE 7
  18.    ALOAD 0
  19.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  20.    TABLESWITCH
  21.      0: L2
  22.      1: L3
  23.      default: L4
  24.   L2
  25.    ALOAD 1
  26.    DUP
  27.    INSTANCEOF kotlin/Result$Failure
  28.    IFEQ L5
  29.    CHECKCAST kotlin/Result$Failure
  30.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  31.    ATHROW
  32.   L5
  33.    POP
  34.   L6
  35.   L7
  36.    ALOAD 0
  37.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  38.    ASTORE 2
  39.   L8
  40.    LINENUMBER 42 L8
  41.    INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  42.    DSTORE 3
  43.   L9
  44.   L10
  45.    LINENUMBER 43 L10
  46.    LDC 100.0
  47.    DSTORE 5
  48.   L11
  49.   L12
  50.    LINENUMBER 44 L12
  51.    DLOAD 5
  52.    DCONST_0
  53.    NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  54.    DUP
  55.    ALOAD 0
  56.    DLOAD 3
  57.    DLOAD 5
  58.    INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  59.    CHECKCAST kotlin/jvm/functions/Function2
  60.    ICONST_2
  61.    ACONST_NULL
  62.    INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  63.    POP
  64.   L13
  65.    LINENUMBER 50 L13
  66.    LDC 110
  67.    ALOAD 0
  68.    ALOAD 0
  69.    DLOAD 3
  70.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  71.    ALOAD 0
  72.    DLOAD 5
  73.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  74.    ALOAD 0
  75.    ICONST_1
  76.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  77.    INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  78.   L14
  79.    DUP
  80.    ALOAD 7
  81.    IF_ACMPNE L15
  82.   L16
  83.    LINENUMBER 41 L16
  84.    ALOAD 7
  85.    ARETURN
  86.   L17
  87.    ALOAD 0
  88.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  89.    DSTORE 5
  90.    ALOAD 0
  91.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  92.    DSTORE 3
  93.   L18
  94.    ALOAD 1
  95.    DUP
  96.    INSTANCEOF kotlin/Result$Failure
  97.    IFEQ L19
  98.    CHECKCAST kotlin/Result$Failure
  99.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  100.    ATHROW
  101.   L19
  102.    POP
  103.    ALOAD 1
  104.   L15
  105.    LINENUMBER 51 L15
  106.    POP
  107.   L20
  108.   L21
  109.    GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  110.    ARETURN
  111.   L22
  112.   L4
  113.    NEW java/lang/IllegalStateException
  114.    DUP
  115.    LDC "call to 'resume' before 'invoke' with coroutine"
  116.    INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  117.    ATHROW
  118.    RETURN
  119.   L23
  120.    LOCALVARIABLE delay D L11 L20 5
  121.    LOCALVARIABLE then D L9 L20 3
  122.    LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L23 0
  123.    LOCALVARIABLE result Ljava/lang/Object; L0 L23 1
  124.    MAXSTACK = 11
  125.    MAXLOCALS = 8
  126. Cause: Back-end (JVM) Internal error: Couldn't transform method node:
  127. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  128.   @Lorg/jetbrains/annotations/Nullable;() // invisible
  129.     // annotable parameter count: 1 (visible)
  130.     // annotable parameter count: 1 (invisible)
  131.     @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  132.    L0
  133.     INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  134.    L1
  135.     LINENUMBER 41 L1
  136.     ASTORE 7
  137.     ALOAD 0
  138.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  139.     TABLESWITCH
  140.       0: L2
  141.       1: L3
  142.       default: L4
  143.    L2
  144.     ALOAD 1
  145.     DUP
  146.     INSTANCEOF kotlin/Result$Failure
  147.     IFEQ L5
  148.     CHECKCAST kotlin/Result$Failure
  149.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  150.     ATHROW
  151.    L5
  152.     POP
  153.    L6
  154.     ALOAD 0
  155.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  156.     ASTORE 2
  157.    L7
  158.     LINENUMBER 42 L7
  159.     INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  160.     DSTORE 3
  161.    L8
  162.     LINENUMBER 43 L8
  163.     LDC 100.0
  164.     DSTORE 5
  165.    L9
  166.     LINENUMBER 44 L9
  167.     DLOAD 5
  168.     DCONST_0
  169.     NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  170.     DUP
  171.     ALOAD 0
  172.     DLOAD 3
  173.     DLOAD 5
  174.     INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  175.     CHECKCAST kotlin/jvm/functions/Function2
  176.     ICONST_2
  177.     ACONST_NULL
  178.     INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  179.     POP
  180.    L10
  181.     LINENUMBER 50 L10
  182.     LDC 110
  183.     ALOAD 0
  184.     ALOAD 0
  185.     DLOAD 3
  186.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  187.     ALOAD 0
  188.     DLOAD 5
  189.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  190.     ALOAD 0
  191.     ICONST_1
  192.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  193.     INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  194.    L11
  195.     DUP
  196.     ALOAD 7
  197.     IF_ACMPNE L12
  198.    L13
  199.     LINENUMBER 41 L13
  200.     ALOAD 7
  201.     ARETURN
  202.    L3
  203.     ALOAD 0
  204.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  205.     DSTORE 5
  206.     ALOAD 0
  207.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  208.     DSTORE 3
  209.    L14
  210.     ALOAD 1
  211.     DUP
  212.     INSTANCEOF kotlin/Result$Failure
  213.     IFEQ L15
  214.     CHECKCAST kotlin/Result$Failure
  215.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  216.     ATHROW
  217.    L15
  218.     POP
  219.     ALOAD 1
  220.    L12
  221.     LINENUMBER 51 L12
  222.     POP
  223.    L16
  224.     GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  225.     ARETURN
  226.    L4
  227.     NEW java/lang/IllegalStateException
  228.     DUP
  229.     LDC "call to 'resume' before 'invoke' with coroutine"
  230.     INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  231.     ATHROW
  232.    L17
  233.     LOCALVARIABLE delay D L9 L16 5
  234.     LOCALVARIABLE then D L8 L16 3
  235.     LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L17 0
  236.     LOCALVARIABLE result Ljava/lang/Object; L0 L17 1
  237.     MAXSTACK = 11
  238.     MAXLOCALS = 8
  239. Cause: java.lang.IllegalArgumentException
  240. Element is unknownThe root cause was thrown at: Frame.java:367
  241. Element is unknownThe root cause was thrown at: TransformationMethodVisitor.kt:92
  242. bytecode:
  243.   @Lorg/jetbrains/annotations/Nullable;() // invisible
  244.     // annotable parameter count: 1 (visible)
  245.     // annotable parameter count: 1 (invisible)
  246.     @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  247.    L0
  248.     INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  249.    L1
  250.     LINENUMBER 41 L1
  251.     ASTORE 7
  252.     ALOAD 0
  253.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  254.     TABLESWITCH
  255.       0: L2
  256.       1: L3
  257.       default: L4
  258.    L2
  259.     ALOAD 1
  260.     DUP
  261.     INSTANCEOF kotlin/Result$Failure
  262.     IFEQ L5
  263.     CHECKCAST kotlin/Result$Failure
  264.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  265.     ATHROW
  266.    L5
  267.     POP
  268.    L6
  269.    L7
  270.     ALOAD 0
  271.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  272.     ASTORE 2
  273.    L8
  274.     LINENUMBER 42 L8
  275.     INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  276.     DSTORE 3
  277.    L9
  278.    L10
  279.     LINENUMBER 43 L10
  280.     LDC 100.0
  281.     DSTORE 5
  282.    L11
  283.    L12
  284.     LINENUMBER 44 L12
  285.     DLOAD 5
  286.     DCONST_0
  287.     NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  288.     DUP
  289.     ALOAD 0
  290.     DLOAD 3
  291.     DLOAD 5
  292.     INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  293.     CHECKCAST kotlin/jvm/functions/Function2
  294.     ICONST_2
  295.     ACONST_NULL
  296.     INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  297.     POP
  298.    L13
  299.     LINENUMBER 50 L13
  300.     LDC 110
  301.     ALOAD 0
  302.     ALOAD 0
  303.     DLOAD 3
  304.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  305.     ALOAD 0
  306.     DLOAD 5
  307.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  308.     ALOAD 0
  309.     ICONST_1
  310.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  311.     INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  312.    L14
  313.     DUP
  314.     ALOAD 7
  315.     IF_ACMPNE L15
  316.    L16
  317.     LINENUMBER 41 L16
  318.     ALOAD 7
  319.     ARETURN
  320.    L17
  321.     ALOAD 0
  322.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  323.     DSTORE 5
  324.     ALOAD 0
  325.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  326.     DSTORE 3
  327.    L18
  328.     ALOAD 1
  329.     DUP
  330.     INSTANCEOF kotlin/Result$Failure
  331.     IFEQ L19
  332.     CHECKCAST kotlin/Result$Failure
  333.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  334.     ATHROW
  335.    L19
  336.     POP
  337.     ALOAD 1
  338.    L15
  339.     LINENUMBER 51 L15
  340.     POP
  341.    L20
  342.    L21
  343.     GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  344.     ARETURN
  345.    L22
  346.    L4
  347.     NEW java/lang/IllegalStateException
  348.     DUP
  349.     LDC "call to 'resume' before 'invoke' with coroutine"
  350.     INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  351.     ATHROW
  352.     RETURN
  353.    L23
  354.     LOCALVARIABLE delay D L11 L20 5
  355.     LOCALVARIABLE then D L9 L20 3
  356.     LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L23 0
  357.     LOCALVARIABLE result Ljava/lang/Object; L0 L23 1
  358.     MAXSTACK = 11
  359.     MAXLOCALS = 8
  360. Cause: Back-end (JVM) Internal error: Couldn't transform method node:
  361. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  362.  @Lorg/jetbrains/annotations/Nullable;() // invisible
  363.    // annotable parameter count: 1 (visible)
  364.    // annotable parameter count: 1 (invisible)
  365.    @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  366.   L0
  367.    INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  368.   L1
  369.    LINENUMBER 41 L1
  370.    ASTORE 7
  371.    ALOAD 0
  372.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  373.    TABLESWITCH
  374.      0: L2
  375.      1: L3
  376.      default: L4
  377.   L2
  378.    ALOAD 1
  379.    DUP
  380.    INSTANCEOF kotlin/Result$Failure
  381.    IFEQ L5
  382.    CHECKCAST kotlin/Result$Failure
  383.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  384.    ATHROW
  385.   L5
  386.    POP
  387.   L6
  388.   L7
  389.    ALOAD 0
  390.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  391.    ASTORE 2
  392.   L8
  393.    LINENUMBER 42 L8
  394.    INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  395.    DSTORE 3
  396.   L9
  397.   L10
  398.    LINENUMBER 43 L10
  399.    LDC 100.0
  400.    DSTORE 5
  401.   L11
  402.   L12
  403.    LINENUMBER 44 L12
  404.    DLOAD 5
  405.    DCONST_0
  406.    NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  407.    DUP
  408.    ALOAD 0
  409.    DLOAD 3
  410.    DLOAD 5
  411.    INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  412.    CHECKCAST kotlin/jvm/functions/Function2
  413.    ICONST_2
  414.    ACONST_NULL
  415.    INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  416.    POP
  417.   L13
  418.    LINENUMBER 50 L13
  419.    LDC 110
  420.    ALOAD 0
  421.    ALOAD 0
  422.    DLOAD 3
  423.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  424.    ALOAD 0
  425.    DLOAD 5
  426.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  427.    ALOAD 0
  428.    ICONST_1
  429.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  430.    INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  431.   L14
  432.    DUP
  433.    ALOAD 7
  434.    IF_ACMPNE L15
  435.   L16
  436.    LINENUMBER 41 L16
  437.    ALOAD 7
  438.    ARETURN
  439.   L17
  440.    ALOAD 0
  441.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  442.    DSTORE 5
  443.    ALOAD 0
  444.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  445.    DSTORE 3
  446.   L18
  447.    ALOAD 1
  448.    DUP
  449.    INSTANCEOF kotlin/Result$Failure
  450.    IFEQ L19
  451.    CHECKCAST kotlin/Result$Failure
  452.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  453.    ATHROW
  454.   L19
  455.    POP
  456.    ALOAD 1
  457.   L15
  458.    LINENUMBER 51 L15
  459.    POP
  460.   L20
  461.   L21
  462.    GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  463.    ARETURN
  464.   L22
  465.   L4
  466.    NEW java/lang/IllegalStateException
  467.    DUP
  468.    LDC "call to 'resume' before 'invoke' with coroutine"
  469.    INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  470.    ATHROW
  471.    RETURN
  472.   L23
  473.    LOCALVARIABLE delay D L11 L20 5
  474.    LOCALVARIABLE then D L9 L20 3
  475.    LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L23 0
  476.    LOCALVARIABLE result Ljava/lang/Object; L0 L23 1
  477.    MAXSTACK = 11
  478.    MAXLOCALS = 8
  479. Cause: Back-end (JVM) Internal error: Couldn't transform method node:
  480. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  481.   @Lorg/jetbrains/annotations/Nullable;() // invisible
  482.     // annotable parameter count: 1 (visible)
  483.     // annotable parameter count: 1 (invisible)
  484.     @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  485.    L0
  486.     INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  487.    L1
  488.     LINENUMBER 41 L1
  489.     ASTORE 7
  490.     ALOAD 0
  491.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  492.     TABLESWITCH
  493.       0: L2
  494.       1: L3
  495.       default: L4
  496.    L2
  497.     ALOAD 1
  498.     DUP
  499.     INSTANCEOF kotlin/Result$Failure
  500.     IFEQ L5
  501.     CHECKCAST kotlin/Result$Failure
  502.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  503.     ATHROW
  504.    L5
  505.     POP
  506.    L6
  507.     ALOAD 0
  508.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  509.     ASTORE 2
  510.    L7
  511.     LINENUMBER 42 L7
  512.     INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  513.     DSTORE 3
  514.    L8
  515.     LINENUMBER 43 L8
  516.     LDC 100.0
  517.     DSTORE 5
  518.    L9
  519.     LINENUMBER 44 L9
  520.     DLOAD 5
  521.     DCONST_0
  522.     NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  523.     DUP
  524.     ALOAD 0
  525.     DLOAD 3
  526.     DLOAD 5
  527.     INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  528.     CHECKCAST kotlin/jvm/functions/Function2
  529.     ICONST_2
  530.     ACONST_NULL
  531.     INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  532.     POP
  533.    L10
  534.     LINENUMBER 50 L10
  535.     LDC 110
  536.     ALOAD 0
  537.     ALOAD 0
  538.     DLOAD 3
  539.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  540.     ALOAD 0
  541.     DLOAD 5
  542.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  543.     ALOAD 0
  544.     ICONST_1
  545.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  546.     INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  547.    L11
  548.     DUP
  549.     ALOAD 7
  550.     IF_ACMPNE L12
  551.    L13
  552.     LINENUMBER 41 L13
  553.     ALOAD 7
  554.     ARETURN
  555.    L3
  556.     ALOAD 0
  557.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  558.     DSTORE 5
  559.     ALOAD 0
  560.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  561.     DSTORE 3
  562.    L14
  563.     ALOAD 1
  564.     DUP
  565.     INSTANCEOF kotlin/Result$Failure
  566.     IFEQ L15
  567.     CHECKCAST kotlin/Result$Failure
  568.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  569.     ATHROW
  570.    L15
  571.     POP
  572.     ALOAD 1
  573.    L12
  574.     LINENUMBER 51 L12
  575.     POP
  576.    L16
  577.     GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  578.     ARETURN
  579.    L4
  580.     NEW java/lang/IllegalStateException
  581.     DUP
  582.     LDC "call to 'resume' before 'invoke' with coroutine"
  583.     INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  584.     ATHROW
  585.    L17
  586.     LOCALVARIABLE delay D L9 L16 5
  587.     LOCALVARIABLE then D L8 L16 3
  588.     LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L17 0
  589.     LOCALVARIABLE result Ljava/lang/Object; L0 L17 1
  590.     MAXSTACK = 11
  591.     MAXLOCALS = 8
  592. Cause: java.lang.IllegalArgumentException
  593. Element is unknownThe root cause was thrown at: Frame.java:367
  594. Element is unknownThe root cause was thrown at: TransformationMethodVisitor.kt:92
  595. File being compiled at position: (41,103) in /Users/admin/repos/data2viz/timer/d2v-timer-jfx/src/test/kotlin/io/data2viz/timer/TimerTests.kt
  596. The root cause was thrown at: TransformationMethodVisitor.kt:92
  597. File being compiled at position: file:///Users/admin/repos/data2viz/timer/d2v-timer-jfx/src/test/kotlin/io/data2viz/timer/TimerTests.kt
  598. The root cause was thrown at: FunctionCodegen.java:1043
  599.     at org.jetbrains.kotlin.codegen.CompilationErrorHandler.lambda$static$0(CompilationErrorHandler.java:24)
  600.     at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generate(PackageCodegenImpl.java:74)
  601.     at org.jetbrains.kotlin.codegen.DefaultCodegenFactory.generatePackage(CodegenFactory.kt:97)
  602.     at org.jetbrains.kotlin.codegen.DefaultCodegenFactory.generateModule(CodegenFactory.kt:68)
  603.     at org.jetbrains.kotlin.codegen.KotlinCodegenFacade.doGenerateFiles(KotlinCodegenFacade.java:47)
  604.     at org.jetbrains.kotlin.codegen.KotlinCodegenFacade.compileCorrectFiles(KotlinCodegenFacade.java:39)
  605.     at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.generate(KotlinToJVMBytecodeCompiler.kt:455)
  606.     at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli(KotlinToJVMBytecodeCompiler.kt:154)
  607.     at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:159)
  608.     at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:57)
  609.     at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:96)
  610.     at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:52)
  611.     at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:93)
  612.     at org.jetbrains.kotlin.daemon.CompileServiceImpl$compile$$inlined$ifAlive$lambda$1.invoke(CompileServiceImpl.kt:436)
  613.     at org.jetbrains.kotlin.daemon.CompileServiceImpl$compile$$inlined$ifAlive$lambda$1.invoke(CompileServiceImpl.kt:102)
  614.     at org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$$inlined$ifAlive$lambda$2.invoke(CompileServiceImpl.kt:1013)
  615.     at org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$$inlined$ifAlive$lambda$2.invoke(CompileServiceImpl.kt:102)
  616.     at org.jetbrains.kotlin.daemon.common.DummyProfiler.withMeasure(PerfUtils.kt:137)
  617.     at org.jetbrains.kotlin.daemon.CompileServiceImpl.checkedCompile(CompileServiceImpl.kt:1055)
  618.     at org.jetbrains.kotlin.daemon.CompileServiceImpl.doCompile(CompileServiceImpl.kt:1012)
  619.     at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:434)
  620.     at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
  621.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  622.     at java.lang.reflect.Method.invoke(Method.java:498)
  623.     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
  624.     at sun.rmi.transport.Transport$1.run(Transport.java:200)
  625.     at sun.rmi.transport.Transport$1.run(Transport.java:197)
  626.     at java.security.AccessController.doPrivileged(Native Method)
  627.     at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
  628.     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
  629.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:835)
  630.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
  631.     at java.security.AccessController.doPrivileged(Native Method)
  632.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
  633.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  634.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  635.     at java.lang.Thread.run(Thread.java:748)
  636. Caused by: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: wrong code generated
  637. org.jetbrains.kotlin.codegen.CompilationException Back-end (JVM) Internal error: Couldn't transform method node:
  638. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  639.  @Lorg/jetbrains/annotations/Nullable;() // invisible
  640.    // annotable parameter count: 1 (visible)
  641.    // annotable parameter count: 1 (invisible)
  642.    @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  643.   L0
  644.    INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  645.   L1
  646.    LINENUMBER 41 L1
  647.    ASTORE 7
  648.    ALOAD 0
  649.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  650.    TABLESWITCH
  651.      0: L2
  652.      1: L3
  653.      default: L4
  654.   L2
  655.    ALOAD 1
  656.    DUP
  657.    INSTANCEOF kotlin/Result$Failure
  658.    IFEQ L5
  659.    CHECKCAST kotlin/Result$Failure
  660.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  661.    ATHROW
  662.   L5
  663.    POP
  664.   L6
  665.   L7
  666.    ALOAD 0
  667.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  668.    ASTORE 2
  669.   L8
  670.    LINENUMBER 42 L8
  671.    INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  672.    DSTORE 3
  673.   L9
  674.   L10
  675.    LINENUMBER 43 L10
  676.    LDC 100.0
  677.    DSTORE 5
  678.   L11
  679.   L12
  680.    LINENUMBER 44 L12
  681.    DLOAD 5
  682.    DCONST_0
  683.    NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  684.    DUP
  685.    ALOAD 0
  686.    DLOAD 3
  687.    DLOAD 5
  688.    INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  689.    CHECKCAST kotlin/jvm/functions/Function2
  690.    ICONST_2
  691.    ACONST_NULL
  692.    INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  693.    POP
  694.   L13
  695.    LINENUMBER 50 L13
  696.    LDC 110
  697.    ALOAD 0
  698.    ALOAD 0
  699.    DLOAD 3
  700.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  701.    ALOAD 0
  702.    DLOAD 5
  703.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  704.    ALOAD 0
  705.    ICONST_1
  706.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  707.    INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  708.   L14
  709.    DUP
  710.    ALOAD 7
  711.    IF_ACMPNE L15
  712.   L16
  713.    LINENUMBER 41 L16
  714.    ALOAD 7
  715.    ARETURN
  716.   L17
  717.    ALOAD 0
  718.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  719.    DSTORE 5
  720.    ALOAD 0
  721.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  722.    DSTORE 3
  723.   L18
  724.    ALOAD 1
  725.    DUP
  726.    INSTANCEOF kotlin/Result$Failure
  727.    IFEQ L19
  728.    CHECKCAST kotlin/Result$Failure
  729.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  730.    ATHROW
  731.   L19
  732.    POP
  733.    ALOAD 1
  734.   L15
  735.    LINENUMBER 51 L15
  736.    POP
  737.   L20
  738.   L21
  739.    GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  740.    ARETURN
  741.   L22
  742.   L4
  743.    NEW java/lang/IllegalStateException
  744.    DUP
  745.    LDC "call to 'resume' before 'invoke' with coroutine"
  746.    INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  747.    ATHROW
  748.    RETURN
  749.   L23
  750.    LOCALVARIABLE delay D L11 L20 5
  751.    LOCALVARIABLE then D L9 L20 3
  752.    LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L23 0
  753.    LOCALVARIABLE result Ljava/lang/Object; L0 L23 1
  754.    MAXSTACK = 11
  755.    MAXLOCALS = 8
  756. Cause: Back-end (JVM) Internal error: Couldn't transform method node:
  757. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  758.   @Lorg/jetbrains/annotations/Nullable;() // invisible
  759.     // annotable parameter count: 1 (visible)
  760.     // annotable parameter count: 1 (invisible)
  761.     @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  762.    L0
  763.     INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  764.    L1
  765.     LINENUMBER 41 L1
  766.     ASTORE 7
  767.     ALOAD 0
  768.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  769.     TABLESWITCH
  770.       0: L2
  771.       1: L3
  772.       default: L4
  773.    L2
  774.     ALOAD 1
  775.     DUP
  776.     INSTANCEOF kotlin/Result$Failure
  777.     IFEQ L5
  778.     CHECKCAST kotlin/Result$Failure
  779.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  780.     ATHROW
  781.    L5
  782.     POP
  783.    L6
  784.     ALOAD 0
  785.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  786.     ASTORE 2
  787.    L7
  788.     LINENUMBER 42 L7
  789.     INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  790.     DSTORE 3
  791.    L8
  792.     LINENUMBER 43 L8
  793.     LDC 100.0
  794.     DSTORE 5
  795.    L9
  796.     LINENUMBER 44 L9
  797.     DLOAD 5
  798.     DCONST_0
  799.     NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  800.     DUP
  801.     ALOAD 0
  802.     DLOAD 3
  803.     DLOAD 5
  804.     INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  805.     CHECKCAST kotlin/jvm/functions/Function2
  806.     ICONST_2
  807.     ACONST_NULL
  808.     INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  809.     POP
  810.    L10
  811.     LINENUMBER 50 L10
  812.     LDC 110
  813.     ALOAD 0
  814.     ALOAD 0
  815.     DLOAD 3
  816.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  817.     ALOAD 0
  818.     DLOAD 5
  819.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  820.     ALOAD 0
  821.     ICONST_1
  822.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  823.     INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  824.    L11
  825.     DUP
  826.     ALOAD 7
  827.     IF_ACMPNE L12
  828.    L13
  829.     LINENUMBER 41 L13
  830.     ALOAD 7
  831.     ARETURN
  832.    L3
  833.     ALOAD 0
  834.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  835.     DSTORE 5
  836.     ALOAD 0
  837.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  838.     DSTORE 3
  839.    L14
  840.     ALOAD 1
  841.     DUP
  842.     INSTANCEOF kotlin/Result$Failure
  843.     IFEQ L15
  844.     CHECKCAST kotlin/Result$Failure
  845.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  846.     ATHROW
  847.    L15
  848.     POP
  849.     ALOAD 1
  850.    L12
  851.     LINENUMBER 51 L12
  852.     POP
  853.    L16
  854.     GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  855.     ARETURN
  856.    L4
  857.     NEW java/lang/IllegalStateException
  858.     DUP
  859.     LDC "call to 'resume' before 'invoke' with coroutine"
  860.     INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  861.     ATHROW
  862.    L17
  863.     LOCALVARIABLE delay D L9 L16 5
  864.     LOCALVARIABLE then D L8 L16 3
  865.     LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L17 0
  866.     LOCALVARIABLE result Ljava/lang/Object; L0 L17 1
  867.     MAXSTACK = 11
  868.     MAXLOCALS = 8
  869. Cause: java.lang.IllegalArgumentException
  870. Element is unknownThe root cause was thrown at: Frame.java:367
  871. Element is unknownThe root cause was thrown at: TransformationMethodVisitor.kt:92
  872. bytecode:
  873.   @Lorg/jetbrains/annotations/Nullable;() // invisible
  874.     // annotable parameter count: 1 (visible)
  875.     // annotable parameter count: 1 (invisible)
  876.     @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  877.    L0
  878.     INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  879.    L1
  880.     LINENUMBER 41 L1
  881.     ASTORE 7
  882.     ALOAD 0
  883.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  884.     TABLESWITCH
  885.       0: L2
  886.       1: L3
  887.       default: L4
  888.    L2
  889.     ALOAD 1
  890.     DUP
  891.     INSTANCEOF kotlin/Result$Failure
  892.     IFEQ L5
  893.     CHECKCAST kotlin/Result$Failure
  894.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  895.     ATHROW
  896.    L5
  897.     POP
  898.    L6
  899.    L7
  900.     ALOAD 0
  901.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  902.     ASTORE 2
  903.    L8
  904.     LINENUMBER 42 L8
  905.     INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  906.     DSTORE 3
  907.    L9
  908.    L10
  909.     LINENUMBER 43 L10
  910.     LDC 100.0
  911.     DSTORE 5
  912.    L11
  913.    L12
  914.     LINENUMBER 44 L12
  915.     DLOAD 5
  916.     DCONST_0
  917.     NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  918.     DUP
  919.     ALOAD 0
  920.     DLOAD 3
  921.     DLOAD 5
  922.     INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  923.     CHECKCAST kotlin/jvm/functions/Function2
  924.     ICONST_2
  925.     ACONST_NULL
  926.     INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  927.     POP
  928.    L13
  929.     LINENUMBER 50 L13
  930.     LDC 110
  931.     ALOAD 0
  932.     ALOAD 0
  933.     DLOAD 3
  934.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  935.     ALOAD 0
  936.     DLOAD 5
  937.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  938.     ALOAD 0
  939.     ICONST_1
  940.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  941.     INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  942.    L14
  943.     DUP
  944.     ALOAD 7
  945.     IF_ACMPNE L15
  946.    L16
  947.     LINENUMBER 41 L16
  948.     ALOAD 7
  949.     ARETURN
  950.    L17
  951.     ALOAD 0
  952.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  953.     DSTORE 5
  954.     ALOAD 0
  955.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  956.     DSTORE 3
  957.    L18
  958.     ALOAD 1
  959.     DUP
  960.     INSTANCEOF kotlin/Result$Failure
  961.     IFEQ L19
  962.     CHECKCAST kotlin/Result$Failure
  963.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  964.     ATHROW
  965.    L19
  966.     POP
  967.     ALOAD 1
  968.    L15
  969.     LINENUMBER 51 L15
  970.     POP
  971.    L20
  972.    L21
  973.     GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  974.     ARETURN
  975.    L22
  976.    L4
  977.     NEW java/lang/IllegalStateException
  978.     DUP
  979.     LDC "call to 'resume' before 'invoke' with coroutine"
  980.     INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  981.     ATHROW
  982.     RETURN
  983.    L23
  984.     LOCALVARIABLE delay D L11 L20 5
  985.     LOCALVARIABLE then D L9 L20 3
  986.     LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L23 0
  987.     LOCALVARIABLE result Ljava/lang/Object; L0 L23 1
  988.     MAXSTACK = 11
  989.     MAXLOCALS = 8
  990. Cause: Back-end (JVM) Internal error: Couldn't transform method node:
  991. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  992.  @Lorg/jetbrains/annotations/Nullable;() // invisible
  993.    // annotable parameter count: 1 (visible)
  994.    // annotable parameter count: 1 (invisible)
  995.    @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  996.   L0
  997.    INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  998.   L1
  999.    LINENUMBER 41 L1
  1000.    ASTORE 7
  1001.    ALOAD 0
  1002.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  1003.    TABLESWITCH
  1004.      0: L2
  1005.      1: L3
  1006.      default: L4
  1007.   L2
  1008.    ALOAD 1
  1009.    DUP
  1010.    INSTANCEOF kotlin/Result$Failure
  1011.    IFEQ L5
  1012.    CHECKCAST kotlin/Result$Failure
  1013.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  1014.    ATHROW
  1015.   L5
  1016.    POP
  1017.   L6
  1018.   L7
  1019.    ALOAD 0
  1020.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  1021.    ASTORE 2
  1022.   L8
  1023.    LINENUMBER 42 L8
  1024.    INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  1025.    DSTORE 3
  1026.   L9
  1027.   L10
  1028.    LINENUMBER 43 L10
  1029.    LDC 100.0
  1030.    DSTORE 5
  1031.   L11
  1032.   L12
  1033.    LINENUMBER 44 L12
  1034.    DLOAD 5
  1035.    DCONST_0
  1036.    NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  1037.    DUP
  1038.    ALOAD 0
  1039.    DLOAD 3
  1040.    DLOAD 5
  1041.    INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  1042.    CHECKCAST kotlin/jvm/functions/Function2
  1043.    ICONST_2
  1044.    ACONST_NULL
  1045.    INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  1046.    POP
  1047.   L13
  1048.    LINENUMBER 50 L13
  1049.    LDC 110
  1050.    ALOAD 0
  1051.    ALOAD 0
  1052.    DLOAD 3
  1053.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  1054.    ALOAD 0
  1055.    DLOAD 5
  1056.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  1057.    ALOAD 0
  1058.    ICONST_1
  1059.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  1060.    INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  1061.   L14
  1062.    DUP
  1063.    ALOAD 7
  1064.    IF_ACMPNE L15
  1065.   L16
  1066.    LINENUMBER 41 L16
  1067.    ALOAD 7
  1068.    ARETURN
  1069.   L17
  1070.    ALOAD 0
  1071.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  1072.    DSTORE 5
  1073.    ALOAD 0
  1074.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  1075.    DSTORE 3
  1076.   L18
  1077.    ALOAD 1
  1078.    DUP
  1079.    INSTANCEOF kotlin/Result$Failure
  1080.    IFEQ L19
  1081.    CHECKCAST kotlin/Result$Failure
  1082.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  1083.    ATHROW
  1084.   L19
  1085.    POP
  1086.    ALOAD 1
  1087.   L15
  1088.    LINENUMBER 51 L15
  1089.    POP
  1090.   L20
  1091.   L21
  1092.    GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  1093.    ARETURN
  1094.   L22
  1095.   L4
  1096.    NEW java/lang/IllegalStateException
  1097.    DUP
  1098.    LDC "call to 'resume' before 'invoke' with coroutine"
  1099.    INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  1100.    ATHROW
  1101.    RETURN
  1102.   L23
  1103.    LOCALVARIABLE delay D L11 L20 5
  1104.    LOCALVARIABLE then D L9 L20 3
  1105.    LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L23 0
  1106.    LOCALVARIABLE result Ljava/lang/Object; L0 L23 1
  1107.    MAXSTACK = 11
  1108.    MAXLOCALS = 8
  1109. Cause: Back-end (JVM) Internal error: Couldn't transform method node:
  1110. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  1111.   @Lorg/jetbrains/annotations/Nullable;() // invisible
  1112.     // annotable parameter count: 1 (visible)
  1113.     // annotable parameter count: 1 (invisible)
  1114.     @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  1115.    L0
  1116.     INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  1117.    L1
  1118.     LINENUMBER 41 L1
  1119.     ASTORE 7
  1120.     ALOAD 0
  1121.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  1122.     TABLESWITCH
  1123.       0: L2
  1124.       1: L3
  1125.       default: L4
  1126.    L2
  1127.     ALOAD 1
  1128.     DUP
  1129.     INSTANCEOF kotlin/Result$Failure
  1130.     IFEQ L5
  1131.     CHECKCAST kotlin/Result$Failure
  1132.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  1133.     ATHROW
  1134.    L5
  1135.     POP
  1136.    L6
  1137.     ALOAD 0
  1138.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  1139.     ASTORE 2
  1140.    L7
  1141.     LINENUMBER 42 L7
  1142.     INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  1143.     DSTORE 3
  1144.    L8
  1145.     LINENUMBER 43 L8
  1146.     LDC 100.0
  1147.     DSTORE 5
  1148.    L9
  1149.     LINENUMBER 44 L9
  1150.     DLOAD 5
  1151.     DCONST_0
  1152.     NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  1153.     DUP
  1154.     ALOAD 0
  1155.     DLOAD 3
  1156.     DLOAD 5
  1157.     INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  1158.     CHECKCAST kotlin/jvm/functions/Function2
  1159.     ICONST_2
  1160.     ACONST_NULL
  1161.     INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  1162.     POP
  1163.    L10
  1164.     LINENUMBER 50 L10
  1165.     LDC 110
  1166.     ALOAD 0
  1167.     ALOAD 0
  1168.     DLOAD 3
  1169.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  1170.     ALOAD 0
  1171.     DLOAD 5
  1172.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  1173.     ALOAD 0
  1174.     ICONST_1
  1175.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  1176.     INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  1177.    L11
  1178.     DUP
  1179.     ALOAD 7
  1180.     IF_ACMPNE L12
  1181.    L13
  1182.     LINENUMBER 41 L13
  1183.     ALOAD 7
  1184.     ARETURN
  1185.    L3
  1186.     ALOAD 0
  1187.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  1188.     DSTORE 5
  1189.     ALOAD 0
  1190.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  1191.     DSTORE 3
  1192.    L14
  1193.     ALOAD 1
  1194.     DUP
  1195.     INSTANCEOF kotlin/Result$Failure
  1196.     IFEQ L15
  1197.     CHECKCAST kotlin/Result$Failure
  1198.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  1199.     ATHROW
  1200.    L15
  1201.     POP
  1202.     ALOAD 1
  1203.    L12
  1204.     LINENUMBER 51 L12
  1205.     POP
  1206.    L16
  1207.     GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  1208.     ARETURN
  1209.    L4
  1210.     NEW java/lang/IllegalStateException
  1211.     DUP
  1212.     LDC "call to 'resume' before 'invoke' with coroutine"
  1213.     INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  1214.     ATHROW
  1215.    L17
  1216.     LOCALVARIABLE delay D L9 L16 5
  1217.     LOCALVARIABLE then D L8 L16 3
  1218.     LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L17 0
  1219.     LOCALVARIABLE result Ljava/lang/Object; L0 L17 1
  1220.     MAXSTACK = 11
  1221.     MAXLOCALS = 8
  1222. Cause: java.lang.IllegalArgumentException
  1223. Element is unknownThe root cause was thrown at: Frame.java:367
  1224. Element is unknownThe root cause was thrown at: TransformationMethodVisitor.kt:92
  1225. File being compiled at position: (41,103) in /Users/admin/repos/data2viz/timer/d2v-timer-jfx/src/test/kotlin/io/data2viz/timer/TimerTests.kt
  1226. The root cause was thrown at: TransformationMethodVisitor.kt:92
  1227.     at org.jetbrains.kotlin.codegen.FunctionCodegen.endVisit(FunctionCodegen.java:1043)
  1228.     at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethodBody(FunctionCodegen.java:497)
  1229.     at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:269)
  1230.     at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:185)
  1231.     at org.jetbrains.kotlin.codegen.coroutines.CoroutineCodegenForLambda.generateResumeImpl(CoroutineCodegen.kt:450)
  1232.     at org.jetbrains.kotlin.codegen.coroutines.CoroutineCodegenForLambda.generateClosureBody(CoroutineCodegen.kt:234)
  1233.     at org.jetbrains.kotlin.codegen.ClosureCodegen.generateBody(ClosureCodegen.java:168)
  1234.     at org.jetbrains.kotlin.codegen.coroutines.CoroutineCodegenForLambda.generateBody(CoroutineCodegen.kt:242)
  1235.     at org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:129)
  1236.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.genClosure(ExpressionCodegen.java:1024)
  1237.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.genClosure(ExpressionCodegen.java:994)
  1238.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.visitLambdaExpression(ExpressionCodegen.java:985)
  1239.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.visitLambdaExpression(ExpressionCodegen.java:108)
  1240.     at org.jetbrains.kotlin.psi.KtLambdaExpression.accept(KtLambdaExpression.java:39)
  1241.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.genQualified(ExpressionCodegen.java:296)
  1242.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.genQualified(ExpressionCodegen.java:278)
  1243.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.gen(ExpressionCodegen.java:351)
  1244.     at org.jetbrains.kotlin.codegen.CallGenerator$DefaultCallGenerator.genValueAndPut(CallGenerator.kt:68)
  1245.     at org.jetbrains.kotlin.codegen.CallBasedArgumentGenerator.generateExpression(CallBasedArgumentGenerator.kt:42)
  1246.     at org.jetbrains.kotlin.codegen.ArgumentGenerator.generate(ArgumentGenerator.kt:68)
  1247.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.invokeMethodWithArguments(ExpressionCodegen.java:2462)
  1248.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.invokeMethodWithArguments(ExpressionCodegen.java:2434)
  1249.     at org.jetbrains.kotlin.codegen.Callable$invokeMethodWithArguments$1.invoke(Callable.kt:41)
  1250.     at org.jetbrains.kotlin.codegen.Callable$invokeMethodWithArguments$1.invoke(Callable.kt:13)
  1251.     at org.jetbrains.kotlin.codegen.OperationStackValue.putSelector(StackValue.kt:79)
  1252.     at org.jetbrains.kotlin.codegen.StackValue.put(StackValue.java:118)
  1253.     at org.jetbrains.kotlin.codegen.StackValue.put(StackValue.java:107)
  1254.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.putStackValue(ExpressionCodegen.java:375)
  1255.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.gen(ExpressionCodegen.java:360)
  1256.     at org.jetbrains.kotlin.codegen.ExpressionCodegen.returnExpression(ExpressionCodegen.java:1677)
  1257.     at org.jetbrains.kotlin.codegen.FunctionGenerationStrategy$FunctionDefault.doGenerateBody(FunctionGenerationStrategy.java:64)
  1258.     at org.jetbrains.kotlin.codegen.FunctionGenerationStrategy$CodegenBased.generateBody(FunctionGenerationStrategy.java:84)
  1259.     at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethodBody(FunctionCodegen.java:678)
  1260.     at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethodBody(FunctionCodegen.java:483)
  1261.     at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:269)
  1262.     at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:185)
  1263.     at org.jetbrains.kotlin.codegen.FunctionCodegen.gen(FunctionCodegen.java:156)
  1264.     at org.jetbrains.kotlin.codegen.MemberCodegen.genSimpleMember(MemberCodegen.java:197)
  1265.     at org.jetbrains.kotlin.codegen.ClassBodyCodegen.generateDeclaration(ClassBodyCodegen.java:166)
  1266.     at org.jetbrains.kotlin.codegen.ClassBodyCodegen.generateBody(ClassBodyCodegen.java:86)
  1267.     at org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:129)
  1268.     at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:302)
  1269.     at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:286)
  1270.     at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateClassOrObject(PackageCodegenImpl.java:161)
  1271.     at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateClassesAndObjectsInFile(PackageCodegenImpl.java:86)
  1272.     at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateFile(PackageCodegenImpl.java:119)
  1273.     at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generate(PackageCodegenImpl.java:66)
  1274.     ... 35 more
  1275. Caused by: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't transform method node:
  1276. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  1277.  @Lorg/jetbrains/annotations/Nullable;() // invisible
  1278.    // annotable parameter count: 1 (visible)
  1279.    // annotable parameter count: 1 (invisible)
  1280.    @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  1281.   L0
  1282.    INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  1283.   L1
  1284.    LINENUMBER 41 L1
  1285.    ASTORE 7
  1286.    ALOAD 0
  1287.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  1288.    TABLESWITCH
  1289.      0: L2
  1290.      1: L3
  1291.      default: L4
  1292.   L2
  1293.    ALOAD 1
  1294.    DUP
  1295.    INSTANCEOF kotlin/Result$Failure
  1296.    IFEQ L5
  1297.    CHECKCAST kotlin/Result$Failure
  1298.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  1299.    ATHROW
  1300.   L5
  1301.    POP
  1302.   L6
  1303.   L7
  1304.    ALOAD 0
  1305.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  1306.    ASTORE 2
  1307.   L8
  1308.    LINENUMBER 42 L8
  1309.    INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  1310.    DSTORE 3
  1311.   L9
  1312.   L10
  1313.    LINENUMBER 43 L10
  1314.    LDC 100.0
  1315.    DSTORE 5
  1316.   L11
  1317.   L12
  1318.    LINENUMBER 44 L12
  1319.    DLOAD 5
  1320.    DCONST_0
  1321.    NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  1322.    DUP
  1323.    ALOAD 0
  1324.    DLOAD 3
  1325.    DLOAD 5
  1326.    INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  1327.    CHECKCAST kotlin/jvm/functions/Function2
  1328.    ICONST_2
  1329.    ACONST_NULL
  1330.    INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  1331.    POP
  1332.   L13
  1333.    LINENUMBER 50 L13
  1334.    LDC 110
  1335.    ALOAD 0
  1336.    ALOAD 0
  1337.    DLOAD 3
  1338.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  1339.    ALOAD 0
  1340.    DLOAD 5
  1341.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  1342.    ALOAD 0
  1343.    ICONST_1
  1344.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  1345.    INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  1346.   L14
  1347.    DUP
  1348.    ALOAD 7
  1349.    IF_ACMPNE L15
  1350.   L16
  1351.    LINENUMBER 41 L16
  1352.    ALOAD 7
  1353.    ARETURN
  1354.   L17
  1355.    ALOAD 0
  1356.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  1357.    DSTORE 5
  1358.    ALOAD 0
  1359.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  1360.    DSTORE 3
  1361.   L18
  1362.    ALOAD 1
  1363.    DUP
  1364.    INSTANCEOF kotlin/Result$Failure
  1365.    IFEQ L19
  1366.    CHECKCAST kotlin/Result$Failure
  1367.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  1368.    ATHROW
  1369.   L19
  1370.    POP
  1371.    ALOAD 1
  1372.   L15
  1373.    LINENUMBER 51 L15
  1374.    POP
  1375.   L20
  1376.   L21
  1377.    GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  1378.    ARETURN
  1379.   L22
  1380.   L4
  1381.    NEW java/lang/IllegalStateException
  1382.    DUP
  1383.    LDC "call to 'resume' before 'invoke' with coroutine"
  1384.    INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  1385.    ATHROW
  1386.    RETURN
  1387.   L23
  1388.    LOCALVARIABLE delay D L11 L20 5
  1389.    LOCALVARIABLE then D L9 L20 3
  1390.    LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L23 0
  1391.    LOCALVARIABLE result Ljava/lang/Object; L0 L23 1
  1392.    MAXSTACK = 11
  1393.    MAXLOCALS = 8
  1394. Cause: Back-end (JVM) Internal error: Couldn't transform method node:
  1395. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  1396.   @Lorg/jetbrains/annotations/Nullable;() // invisible
  1397.     // annotable parameter count: 1 (visible)
  1398.     // annotable parameter count: 1 (invisible)
  1399.     @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  1400.    L0
  1401.     INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  1402.    L1
  1403.     LINENUMBER 41 L1
  1404.     ASTORE 7
  1405.     ALOAD 0
  1406.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  1407.     TABLESWITCH
  1408.       0: L2
  1409.       1: L3
  1410.       default: L4
  1411.    L2
  1412.     ALOAD 1
  1413.     DUP
  1414.     INSTANCEOF kotlin/Result$Failure
  1415.     IFEQ L5
  1416.     CHECKCAST kotlin/Result$Failure
  1417.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  1418.     ATHROW
  1419.    L5
  1420.     POP
  1421.    L6
  1422.     ALOAD 0
  1423.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  1424.     ASTORE 2
  1425.    L7
  1426.     LINENUMBER 42 L7
  1427.     INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  1428.     DSTORE 3
  1429.    L8
  1430.     LINENUMBER 43 L8
  1431.     LDC 100.0
  1432.     DSTORE 5
  1433.    L9
  1434.     LINENUMBER 44 L9
  1435.     DLOAD 5
  1436.     DCONST_0
  1437.     NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  1438.     DUP
  1439.     ALOAD 0
  1440.     DLOAD 3
  1441.     DLOAD 5
  1442.     INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  1443.     CHECKCAST kotlin/jvm/functions/Function2
  1444.     ICONST_2
  1445.     ACONST_NULL
  1446.     INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  1447.     POP
  1448.    L10
  1449.     LINENUMBER 50 L10
  1450.     LDC 110
  1451.     ALOAD 0
  1452.     ALOAD 0
  1453.     DLOAD 3
  1454.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  1455.     ALOAD 0
  1456.     DLOAD 5
  1457.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  1458.     ALOAD 0
  1459.     ICONST_1
  1460.     PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  1461.     INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  1462.    L11
  1463.     DUP
  1464.     ALOAD 7
  1465.     IF_ACMPNE L12
  1466.    L13
  1467.     LINENUMBER 41 L13
  1468.     ALOAD 7
  1469.     ARETURN
  1470.    L3
  1471.     ALOAD 0
  1472.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  1473.     DSTORE 5
  1474.     ALOAD 0
  1475.     GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  1476.     DSTORE 3
  1477.    L14
  1478.     ALOAD 1
  1479.     DUP
  1480.     INSTANCEOF kotlin/Result$Failure
  1481.     IFEQ L15
  1482.     CHECKCAST kotlin/Result$Failure
  1483.     GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  1484.     ATHROW
  1485.    L15
  1486.     POP
  1487.     ALOAD 1
  1488.    L12
  1489.     LINENUMBER 51 L12
  1490.     POP
  1491.    L16
  1492.     GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  1493.     ARETURN
  1494.    L4
  1495.     NEW java/lang/IllegalStateException
  1496.     DUP
  1497.     LDC "call to 'resume' before 'invoke' with coroutine"
  1498.     INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  1499.     ATHROW
  1500.    L17
  1501.     LOCALVARIABLE delay D L9 L16 5
  1502.     LOCALVARIABLE then D L8 L16 3
  1503.     LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L17 0
  1504.     LOCALVARIABLE result Ljava/lang/Object; L0 L17 1
  1505.     MAXSTACK = 11
  1506.     MAXLOCALS = 8
  1507. Cause: java.lang.IllegalArgumentException
  1508. Element is unknownThe root cause was thrown at: Frame.java:367
  1509. Element is unknownThe root cause was thrown at: TransformationMethodVisitor.kt:92
  1510.     at org.jetbrains.kotlin.codegen.TransformationMethodVisitor.visitEnd(TransformationMethodVisitor.kt:92)
  1511.     at org.jetbrains.kotlin.codegen.FunctionCodegen.endVisit(FunctionCodegen.java:1031)
  1512.     ... 81 more
  1513. Caused by: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't transform method node:
  1514. invokeSuspend (Ljava/lang/Object;)Ljava/lang/Object;:
  1515.  @Lorg/jetbrains/annotations/Nullable;() // invisible
  1516.    // annotable parameter count: 1 (visible)
  1517.    // annotable parameter count: 1 (invisible)
  1518.    @Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0
  1519.   L0
  1520.    INVOKESTATIC kotlin/coroutines/intrinsics/IntrinsicsKt.getCOROUTINE_SUSPENDED ()Ljava/lang/Object;
  1521.   L1
  1522.    LINENUMBER 41 L1
  1523.    ASTORE 7
  1524.    ALOAD 0
  1525.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  1526.    TABLESWITCH
  1527.      0: L2
  1528.      1: L3
  1529.      default: L4
  1530.   L2
  1531.    ALOAD 1
  1532.    DUP
  1533.    INSTANCEOF kotlin/Result$Failure
  1534.    IFEQ L5
  1535.    CHECKCAST kotlin/Result$Failure
  1536.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  1537.    ATHROW
  1538.   L5
  1539.    POP
  1540.   L6
  1541.    ALOAD 0
  1542.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.p$ : Lkotlinx/coroutines/CoroutineScope;
  1543.    ASTORE 2
  1544.   L7
  1545.    LINENUMBER 42 L7
  1546.    INVOKESTATIC io/data2viz/timer/TimerKt.now ()D
  1547.    DSTORE 3
  1548.   L8
  1549.    LINENUMBER 43 L8
  1550.    LDC 100.0
  1551.    DSTORE 5
  1552.   L9
  1553.    LINENUMBER 44 L9
  1554.    DLOAD 5
  1555.    DCONST_0
  1556.    NEW io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1
  1557.    DUP
  1558.    ALOAD 0
  1559.    DLOAD 3
  1560.    DLOAD 5
  1561.    INVOKESPECIAL io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1$1.<init> (Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1;DD)V
  1562.    CHECKCAST kotlin/jvm/functions/Function2
  1563.    ICONST_2
  1564.    ACONST_NULL
  1565.    INVOKESTATIC io/data2viz/timer/TimerKt.timer$default (DDLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lio/data2viz/timer/Timer;
  1566.    POP
  1567.   L10
  1568.    LINENUMBER 50 L10
  1569.    LDC 110
  1570.    ALOAD 0
  1571.    ALOAD 0
  1572.    DLOAD 3
  1573.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  1574.    ALOAD 0
  1575.    DLOAD 5
  1576.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  1577.    ALOAD 0
  1578.    ICONST_1
  1579.    PUTFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.label : I
  1580.    INVOKESTATIC kotlinx/coroutines/DelayKt.delay (JLkotlin/coroutines/Continuation;)Ljava/lang/Object;
  1581.   L11
  1582.    DUP
  1583.    ALOAD 7
  1584.    IF_ACMPNE L12
  1585.   L13
  1586.    LINENUMBER 41 L13
  1587.    ALOAD 7
  1588.    ARETURN
  1589.   L3
  1590.    ALOAD 0
  1591.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$1 : D
  1592.    DSTORE 5
  1593.    ALOAD 0
  1594.    GETFIELD io/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1.D$0 : D
  1595.    DSTORE 3
  1596.   L14
  1597.    ALOAD 1
  1598.    DUP
  1599.    INSTANCEOF kotlin/Result$Failure
  1600.    IFEQ L15
  1601.    CHECKCAST kotlin/Result$Failure
  1602.    GETFIELD kotlin/Result$Failure.exception : Ljava/lang/Throwable;
  1603.    ATHROW
  1604.   L15
  1605.    POP
  1606.    ALOAD 1
  1607.   L12
  1608.    LINENUMBER 51 L12
  1609.    POP
  1610.   L16
  1611.    GETSTATIC kotlin/Unit.INSTANCE : Lkotlin/Unit;
  1612.    ARETURN
  1613.   L4
  1614.    NEW java/lang/IllegalStateException
  1615.    DUP
  1616.    LDC "call to 'resume' before 'invoke' with coroutine"
  1617.    INVOKESPECIAL java/lang/IllegalStateException.<init> (Ljava/lang/String;)V
  1618.    ATHROW
  1619.   L17
  1620.    LOCALVARIABLE delay D L9 L16 5
  1621.    LOCALVARIABLE then D L8 L16 3
  1622.    LOCALVARIABLE this Lio/data2viz/timer/TimerTests$timer(callback, delay) first invokes the callback after the specified delay$1; L0 L17 0
  1623.    LOCALVARIABLE result Ljava/lang/Object; L0 L17 1
  1624.    MAXSTACK = 11
  1625.    MAXLOCALS = 8
  1626. Cause: java.lang.IllegalArgumentException
  1627. Element is unknownThe root cause was thrown at: Frame.java:367
  1628.     at org.jetbrains.kotlin.codegen.TransformationMethodVisitor.visitEnd(TransformationMethodVisitor.kt:92)
  1629.     at org.jetbrains.kotlin.codegen.TransformationMethodVisitor.visitEnd(TransformationMethodVisitor.kt:90)
  1630.     ... 82 more
  1631. Caused by: java.lang.IllegalArgumentException
  1632.     at org.jetbrains.org.objectweb.asm.Frame.getAbstractTypeFromDescriptor(Frame.java:367)
  1633.     at org.jetbrains.org.objectweb.asm.Frame.push(Frame.java:544)
  1634.     at org.jetbrains.org.objectweb.asm.Frame.execute(Frame.java:1035)
  1635.     at org.jetbrains.org.objectweb.asm.MethodWriter.visitMethodInsn(MethodWriter.java:1056)
  1636.     at org.jetbrains.org.objectweb.asm.MethodVisitor.visitMethodInsn(MethodVisitor.java:433)
  1637.     at org.jetbrains.org.objectweb.asm.tree.MethodInsnNode.accept(MethodInsnNode.java:117)
  1638.     at org.jetbrains.org.objectweb.asm.tree.InsnList.accept(InsnList.java:144)
  1639.     at org.jetbrains.org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:792)
  1640.     at org.jetbrains.kotlin.codegen.TransformationMethodVisitor.visitEnd(TransformationMethodVisitor.kt:73)
  1641.     ... 83 more
  1642. Warning:Kotlin: ATTENTION!
  1643. This build uses unsafe internal compiler arguments:
  1644. -XXLanguage:+InlineClasses
  1645. -XXLanguage:+InlineClasses
  1646. This mode is not recommended for production use,
  1647. as no stability/compatibility guarantees are given on
  1648. compiler or generated code. Use it at your own risk!
  1649. Warning:Kotlin: -Xcoroutines has no effect: coroutines are enabled anyway in 1.3 and beyond
  1650. Warning:Kotlin: '/Users/admin/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.3.0/84a2e0288dc17cd64d692eb1e5e0de8cd5ff0846/kotlin-stdlib-common-1.3.0.jar' is not a valid Kotlin Javascript library
  1651. Warning:Kotlin: '/Users/admin/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test-common/1.3.0/b765b1fd01face2ef7f41afab96b2e09e923f053/kotlin-test-common-1.3.0.jar' is not a valid Kotlin Javascript library
  1652. Warning:Kotlin: '/Users/admin/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-test-annotations-common/1.3.0/599cd980987f43e0a2252a158595a67eba8e1bf4/kotlin-test-annotations-common-1.3.0.jar' is not a valid Kotlin Javascript library
  1653. Warning:Kotlin: '/Users/admin/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core-common/1.0.0/5f7551ec1edc068deaa0397100a1f14f32270274/kotlinx-coroutines-core-common-1.0.0.jar' is not a valid Kotlin Javascript library
  1654. /Users/admin/repos/data2viz/timer/d2v-timer-common/src/main/kotlin/io/data2viz/timer/Timer.kt
  1655. Warning:(129, 14) Kotlin: [data2vizandroid.timer.d2v-timer-js.main] Parameter 'elapsed' is never used
  1656. Warning:(133, 9) Kotlin: [data2vizandroid.timer.d2v-timer-js.main] Variable 'total' is never used
  1657. Warning:(134, 9) Kotlin: [data2vizandroid.timer.d2v-timer-js.main] Variable 'timer' is never used
  1658. Warning:(362, 17) Kotlin: [data2vizandroid.timer.d2v-timer-js.main] Parameter 'msg' is never used
  1659. Warning:(129, 14) Kotlin: [data2vizandroid.timer.d2v-timer-jfx.main] Parameter 'elapsed' is never used
  1660. Warning:(133, 9) Kotlin: [data2vizandroid.timer.d2v-timer-jfx.main] Variable 'total' is never used
  1661. Warning:(134, 9) Kotlin: [data2vizandroid.timer.d2v-timer-jfx.main] Variable 'timer' is never used
  1662. Warning:(362, 17) Kotlin: [data2vizandroid.timer.d2v-timer-jfx.main] Parameter 'msg' is never used
  1663. /Users/admin/repos/data2viz/timeFormat/d2v-timeFormat-common/src/main/kotlin/io/data2viz/timeFormat/Locale.kt
  1664. Warning:(471, 29) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-jvm.main] Parameter 'd' is never used
  1665. Warning:(478, 37) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-jvm.main] Parameter 'p' is never used
  1666. Warning:(482, 32) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-jvm.main] Parameter 'p' is never used
  1667. Warning:(486, 35) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-jvm.main] Parameter 'p' is never used
  1668. Warning:(490, 30) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-jvm.main] Parameter 'p' is never used
  1669. Warning:(494, 31) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-jvm.main] Parameter 'p' is never used
  1670. Warning:(538, 38) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-jvm.main] Parameter 'p' is never used
  1671. Warning:(554, 29) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-jvm.main] Parameter 'p' is never used
  1672. Warning:(561, 30) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-jvm.main] Parameter 'd' is never used
  1673. Warning:(561, 39) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-jvm.main] Parameter 'p' is never used
  1674. Warning:(471, 29) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-js.main] Parameter 'd' is never used
  1675. Warning:(478, 37) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-js.main] Parameter 'p' is never used
  1676. Warning:(482, 32) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-js.main] Parameter 'p' is never used
  1677. Warning:(486, 35) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-js.main] Parameter 'p' is never used
  1678. Warning:(490, 30) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-js.main] Parameter 'p' is never used
  1679. Warning:(494, 31) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-js.main] Parameter 'p' is never used
  1680. Warning:(538, 38) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-js.main] Parameter 'p' is never used
  1681. Warning:(554, 29) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-js.main] Parameter 'p' is never used
  1682. Warning:(561, 30) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-js.main] Parameter 'd' is never used
  1683. Warning:(561, 39) Kotlin: [data2vizandroid.timeFormat.d2v-timeFormat-js.main] Parameter 'p' is never used
  1684. /Users/admin/repos/data2viz/tests/d2v-tests-common/src/main/kotlin/io/data2viz/test/matchers/CollectionMatchers.kt
  1685. Warning:(12, 25) Kotlin: [data2vizandroid.tests.d2v-tests-jvm.main] Projection is redundant: the corresponding type parameter of HaveWrapper has the same variance
  1686. Warning:(18, 32) Kotlin: [data2vizandroid.tests.d2v-tests-jvm.main] Projection is redundant: the corresponding type parameter of ContainWrapper has the same variance
  1687. Warning:(12, 25) Kotlin: [data2vizandroid.tests.d2v-tests-js.main] Projection is redundant: the corresponding type parameter of HaveWrapper has the same variance
  1688. Warning:(18, 32) Kotlin: [data2vizandroid.tests.d2v-tests-js.main] Projection is redundant: the corresponding type parameter of ContainWrapper has the same variance
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement