Last active
December 24, 2018 07:29
-
-
Save KyNorthstar/93845c8dd90ab9215e98e218ef084056 to your computer and use it in GitHub Desktop.
Kotlin Compiler Crashes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Exception from standalone Kotlin compiler> | |
Kotlin: [Internal Error] org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: wrong code generated | |
org.jetbrains.kotlin.codegen.CompilationException Back-end (JVM) Internal error: Couldn't transform method node: | |
reposition (Lorg/bh/tools/base/math/geometry/FractionRect;Lorg/bh/tools/base/math/geometry/FractionRect;)Lorg/bh/tools/base/math/geometry/FractionRect;: | |
@Lorg/jetbrains/annotations/NotNull;() // invisible | |
@Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0 | |
@Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 1 | |
L0 | |
ALOAD 1 | |
LDC "rect" | |
INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V | |
ALOAD 2 | |
LDC "withinFrame" | |
INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V | |
L1 | |
LINENUMBER 45 L1 | |
ALOAD 0 | |
ASTORE 3 | |
L2 | |
LINENUMBER 46 L2 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXminY | |
IFEQ L3 | |
L4 | |
ALOAD 1 | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMinX ()Ljava/lang/Double; | |
INVOKEVIRTUAL java/lang/Double.doubleValue ()D | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.xOffset : D | |
DADD | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMinY ()Ljava/lang/Double; | |
INVOKEVIRTUAL java/lang/Double.doubleValue ()D | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.yOffset : D | |
DADD | |
DCONST_0 | |
DCONST_0 | |
BIPUSH 12 | |
ACONST_NULL | |
INVOKESTATIC org/bh/tools/base/math/geometry/Rect.copy$default (Lorg/bh/tools/base/math/geometry/Rect;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;ILjava/lang/Object;)Lorg/bh/tools/base/math/geometry/Rect; | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L3 | |
LINENUMBER 47 L3 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXminY | |
IFEQ L6 | |
L7 | |
NOP | |
L8 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L9 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L6 | |
LINENUMBER 48 L6 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXminY | |
IFEQ L10 | |
L11 | |
NOP | |
L12 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L13 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L10 | |
LINENUMBER 49 L10 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXmidY | |
IFEQ L14 | |
L15 | |
NOP | |
L16 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L17 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L14 | |
LINENUMBER 50 L14 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXmidY | |
IFEQ L18 | |
L19 | |
NOP | |
L20 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L21 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L18 | |
LINENUMBER 51 L18 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXmidY | |
IFEQ L22 | |
L23 | |
NOP | |
L24 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L25 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L22 | |
LINENUMBER 52 L22 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXmaxY | |
IFEQ L26 | |
L27 | |
NOP | |
L28 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L29 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L26 | |
LINENUMBER 53 L26 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXmaxY | |
IFEQ L30 | |
L31 | |
NOP | |
L32 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L33 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L30 | |
LINENUMBER 54 L30 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXmaxY | |
IFEQ L34 | |
L35 | |
LINENUMBER 55 L35 | |
L36 | |
LINENUMBER 54 L36 | |
ALOAD 1 | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMaxXmaxY ()Lorg/bh/tools/base/math/geometry/FractionPoint; | |
CHECKCAST org/bh/tools/base/math/geometry/ComputablePoint | |
ACONST_NULL | |
ICONST_2 | |
ACONST_NULL | |
INVOKESTATIC org/bh/tools/base/math/geometry/Rect.copy$default (Lorg/bh/tools/base/math/geometry/Rect;Lorg/bh/tools/base/math/geometry/Point;Lorg/bh/tools/base/math/geometry/Size;ILjava/lang/Object;)Lorg/bh/tools/base/math/geometry/Rect; | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
L37 | |
LINENUMBER 55 L37 | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.xOffset : D | |
ALOAD 1 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getWidth ()Ljava/lang/Number; | |
INVOKEVIRTUAL java/lang/Number.doubleValue ()D | |
DSTORE 4 | |
DSTORE 8 | |
ASTORE 7 | |
NOP | |
L38 | |
LINENUMBER 146 L38 | |
DLOAD 4 | |
DCONST_0 | |
DCMPG | |
IFGE L39 | |
DCONST_0 | |
GOTO L40 | |
L39 | |
DLOAD 4 | |
L40 | |
NOP | |
GOTO L41 | |
L41 | |
DSTORE 10 | |
ALOAD 7 | |
DLOAD 8 | |
DLOAD 10 | |
L42 | |
LINENUMBER 55 L42 | |
DSUB | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.yOffset : D | |
ALOAD 1 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getHeight ()Ljava/lang/Number; | |
INVOKEVIRTUAL java/lang/Number.doubleValue ()D | |
DSTORE 4 | |
DSTORE 10 | |
DSTORE 8 | |
ASTORE 7 | |
NOP | |
L43 | |
LINENUMBER 147 L43 | |
DLOAD 4 | |
DCONST_0 | |
DCMPG | |
IFGE L44 | |
DCONST_0 | |
GOTO L45 | |
L44 | |
DLOAD 4 | |
L45 | |
NOP | |
GOTO L46 | |
L46 | |
DSTORE 12 | |
ALOAD 7 | |
DLOAD 8 | |
DLOAD 10 | |
DLOAD 12 | |
L47 | |
LINENUMBER 55 L47 | |
DSUB | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.offset (DD)Lorg/bh/tools/base/math/geometry/FractionRect; | |
GOTO L5 | |
L34 | |
NEW kotlin/NoWhenBranchMatchedException | |
DUP | |
INVOKESPECIAL kotlin/NoWhenBranchMatchedException.<init> ()V | |
ATHROW | |
L48 | |
LINENUMBER 45 L48 | |
L5 | |
ARETURN | |
L49 | |
LOCALVARIABLE $receiver$iv D L38 L41 4 | |
LOCALVARIABLE $i$f$getClampToPositive I L38 L41 6 | |
LOCALVARIABLE $receiver$iv D L43 L46 4 | |
LOCALVARIABLE $i$f$getClampToPositive I L43 L46 6 | |
LOCALVARIABLE this Lorg/bh/tools/ui/generic/UIAnchor; L0 L49 0 | |
LOCALVARIABLE rect Lorg/bh/tools/base/math/geometry/FractionRect; L0 L49 1 | |
LOCALVARIABLE withinFrame Lorg/bh/tools/base/math/geometry/FractionRect; L0 L49 2 | |
MAXSTACK = 11 | |
MAXLOCALS = 14 | |
Cause: AFTER mandatory stack transformations: incorrect bytecode | |
Element is unknownThe root cause was thrown at: MethodVerifier.kt:28 | |
bytecode: | |
@Lorg/jetbrains/annotations/NotNull;() // invisible | |
@Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0 | |
@Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 1 | |
L0 | |
ALOAD 1 | |
LDC "rect" | |
INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V | |
ALOAD 2 | |
LDC "withinFrame" | |
INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V | |
L1 | |
LINENUMBER 45 L1 | |
ALOAD 0 | |
ASTORE 3 | |
L2 | |
LINENUMBER 46 L2 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXminY | |
IFEQ L3 | |
L4 | |
ALOAD 1 | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMinX ()Ljava/lang/Double; | |
INVOKEVIRTUAL java/lang/Double.doubleValue ()D | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.xOffset : D | |
DADD | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMinY ()Ljava/lang/Double; | |
INVOKEVIRTUAL java/lang/Double.doubleValue ()D | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.yOffset : D | |
DADD | |
DCONST_0 | |
DCONST_0 | |
BIPUSH 12 | |
ACONST_NULL | |
INVOKESTATIC org/bh/tools/base/math/geometry/Rect.copy$default (Lorg/bh/tools/base/math/geometry/Rect;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;ILjava/lang/Object;)Lorg/bh/tools/base/math/geometry/Rect; | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L3 | |
LINENUMBER 47 L3 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXminY | |
IFEQ L6 | |
L7 | |
NOP | |
L8 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L9 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L6 | |
LINENUMBER 48 L6 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXminY | |
IFEQ L10 | |
L11 | |
NOP | |
L12 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L13 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L10 | |
LINENUMBER 49 L10 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXmidY | |
IFEQ L14 | |
L15 | |
NOP | |
L16 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L17 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L14 | |
LINENUMBER 50 L14 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXmidY | |
IFEQ L18 | |
L19 | |
NOP | |
L20 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L21 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L18 | |
LINENUMBER 51 L18 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXmidY | |
IFEQ L22 | |
L23 | |
NOP | |
L24 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L25 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L22 | |
LINENUMBER 52 L22 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXmaxY | |
IFEQ L26 | |
L27 | |
NOP | |
L28 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L29 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L26 | |
LINENUMBER 53 L26 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXmaxY | |
IFEQ L30 | |
L31 | |
NOP | |
L32 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L33 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L30 | |
LINENUMBER 54 L30 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXmaxY | |
IFEQ L34 | |
L35 | |
LINENUMBER 55 L35 | |
L36 | |
LINENUMBER 54 L36 | |
ALOAD 1 | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMaxXmaxY ()Lorg/bh/tools/base/math/geometry/FractionPoint; | |
CHECKCAST org/bh/tools/base/math/geometry/ComputablePoint | |
ACONST_NULL | |
ICONST_2 | |
ACONST_NULL | |
INVOKESTATIC org/bh/tools/base/math/geometry/Rect.copy$default (Lorg/bh/tools/base/math/geometry/Rect;Lorg/bh/tools/base/math/geometry/Point;Lorg/bh/tools/base/math/geometry/Size;ILjava/lang/Object;)Lorg/bh/tools/base/math/geometry/Rect; | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
L37 | |
LINENUMBER 55 L37 | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.xOffset : D | |
ALOAD 1 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getWidth ()Ljava/lang/Number; | |
INVOKEVIRTUAL java/lang/Number.doubleValue ()D | |
DSTORE 4 | |
DSTORE 8 | |
ASTORE 7 | |
NOP | |
L38 | |
LINENUMBER 146 L38 | |
DLOAD 4 | |
DCONST_0 | |
DCMPG | |
IFGE L39 | |
DCONST_0 | |
GOTO L40 | |
L39 | |
DLOAD 4 | |
L40 | |
NOP | |
GOTO L41 | |
L41 | |
DSTORE 10 | |
ALOAD 7 | |
DLOAD 8 | |
DLOAD 10 | |
L42 | |
LINENUMBER 55 L42 | |
DSUB | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.yOffset : D | |
ALOAD 1 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getHeight ()Ljava/lang/Number; | |
INVOKEVIRTUAL java/lang/Number.doubleValue ()D | |
DSTORE 4 | |
DSTORE 10 | |
DSTORE 8 | |
ASTORE 7 | |
NOP | |
L43 | |
LINENUMBER 147 L43 | |
DLOAD 4 | |
DCONST_0 | |
DCMPG | |
IFGE L44 | |
DCONST_0 | |
GOTO L45 | |
L44 | |
DLOAD 4 | |
L45 | |
NOP | |
GOTO L46 | |
L46 | |
DSTORE 12 | |
ALOAD 7 | |
DLOAD 8 | |
DLOAD 10 | |
DLOAD 12 | |
L47 | |
LINENUMBER 55 L47 | |
DSUB | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.offset (DD)Lorg/bh/tools/base/math/geometry/FractionRect; | |
GOTO L5 | |
L34 | |
NEW kotlin/NoWhenBranchMatchedException | |
DUP | |
INVOKESPECIAL kotlin/NoWhenBranchMatchedException.<init> ()V | |
ATHROW | |
L48 | |
LINENUMBER 45 L48 | |
L5 | |
ARETURN | |
L49 | |
LOCALVARIABLE $receiver$iv D L38 L41 4 | |
LOCALVARIABLE $i$f$getClampToPositive I L38 L41 6 | |
LOCALVARIABLE $receiver$iv D L43 L46 4 | |
LOCALVARIABLE $i$f$getClampToPositive I L43 L46 6 | |
LOCALVARIABLE this Lorg/bh/tools/ui/generic/UIAnchor; L0 L49 0 | |
LOCALVARIABLE rect Lorg/bh/tools/base/math/geometry/FractionRect; L0 L49 1 | |
LOCALVARIABLE withinFrame Lorg/bh/tools/base/math/geometry/FractionRect; L0 L49 2 | |
MAXSTACK = 11 | |
MAXLOCALS = 14 | |
Cause: Back-end (JVM) Internal error: Couldn't transform method node: | |
reposition (Lorg/bh/tools/base/math/geometry/FractionRect;Lorg/bh/tools/base/math/geometry/FractionRect;)Lorg/bh/tools/base/math/geometry/FractionRect;: | |
@Lorg/jetbrains/annotations/NotNull;() // invisible | |
@Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0 | |
@Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 1 | |
L0 | |
ALOAD 1 | |
LDC "rect" | |
INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V | |
ALOAD 2 | |
LDC "withinFrame" | |
INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V | |
L1 | |
LINENUMBER 45 L1 | |
ALOAD 0 | |
ASTORE 3 | |
L2 | |
LINENUMBER 46 L2 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXminY | |
IFEQ L3 | |
L4 | |
ALOAD 1 | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMinX ()Ljava/lang/Double; | |
INVOKEVIRTUAL java/lang/Double.doubleValue ()D | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.xOffset : D | |
DADD | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMinY ()Ljava/lang/Double; | |
INVOKEVIRTUAL java/lang/Double.doubleValue ()D | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.yOffset : D | |
DADD | |
DCONST_0 | |
DCONST_0 | |
BIPUSH 12 | |
ACONST_NULL | |
INVOKESTATIC org/bh/tools/base/math/geometry/Rect.copy$default (Lorg/bh/tools/base/math/geometry/Rect;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;ILjava/lang/Object;)Lorg/bh/tools/base/math/geometry/Rect; | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L3 | |
LINENUMBER 47 L3 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXminY | |
IFEQ L6 | |
L7 | |
NOP | |
L8 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L9 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L6 | |
LINENUMBER 48 L6 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXminY | |
IFEQ L10 | |
L11 | |
NOP | |
L12 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L13 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L10 | |
LINENUMBER 49 L10 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXmidY | |
IFEQ L14 | |
L15 | |
NOP | |
L16 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L17 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L14 | |
LINENUMBER 50 L14 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXmidY | |
IFEQ L18 | |
L19 | |
NOP | |
L20 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L21 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L18 | |
LINENUMBER 51 L18 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXmidY | |
IFEQ L22 | |
L23 | |
NOP | |
L24 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L25 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L22 | |
LINENUMBER 52 L22 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXmaxY | |
IFEQ L26 | |
L27 | |
NOP | |
L28 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L29 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L26 | |
LINENUMBER 53 L26 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXmaxY | |
IFEQ L30 | |
L31 | |
NOP | |
L32 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L33 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L30 | |
LINENUMBER 54 L30 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXmaxY | |
IFEQ L34 | |
L35 | |
LINENUMBER 55 L35 | |
L36 | |
LINENUMBER 54 L36 | |
ALOAD 1 | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMaxXmaxY ()Lorg/bh/tools/base/math/geometry/FractionPoint; | |
CHECKCAST org/bh/tools/base/math/geometry/ComputablePoint | |
ACONST_NULL | |
ICONST_2 | |
ACONST_NULL | |
INVOKESTATIC org/bh/tools/base/math/geometry/Rect.copy$default (Lorg/bh/tools/base/math/geometry/Rect;Lorg/bh/tools/base/math/geometry/Point;Lorg/bh/tools/base/math/geometry/Size;ILjava/lang/Object;)Lorg/bh/tools/base/math/geometry/Rect; | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
L37 | |
LINENUMBER 55 L37 | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.xOffset : D | |
ALOAD 1 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getWidth ()Ljava/lang/Number; | |
INVOKEVIRTUAL java/lang/Number.doubleValue ()D | |
DSTORE 4 | |
DSTORE 8 | |
ASTORE 7 | |
NOP | |
L38 | |
LINENUMBER 146 L38 | |
DLOAD 4 | |
DCONST_0 | |
DCMPG | |
IFGE L39 | |
DCONST_0 | |
GOTO L40 | |
L39 | |
DLOAD 4 | |
L40 | |
NOP | |
GOTO L41 | |
L41 | |
DSTORE 10 | |
ALOAD 7 | |
DLOAD 8 | |
DLOAD 10 | |
L42 | |
LINENUMBER 55 L42 | |
DSUB | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.yOffset : D | |
ALOAD 1 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getHeight ()Ljava/lang/Number; | |
INVOKEVIRTUAL java/lang/Number.doubleValue ()D | |
DSTORE 4 | |
DSTORE 10 | |
DSTORE 8 | |
ASTORE 7 | |
NOP | |
L43 | |
LINENUMBER 147 L43 | |
DLOAD 4 | |
DCONST_0 | |
DCMPG | |
IFGE L44 | |
DCONST_0 | |
GOTO L45 | |
L44 | |
DLOAD 4 | |
L45 | |
NOP | |
GOTO L46 | |
L46 | |
DSTORE 12 | |
ALOAD 7 | |
DLOAD 8 | |
DLOAD 10 | |
DLOAD 12 | |
L47 | |
LINENUMBER 55 L47 | |
DSUB | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.offset (DD)Lorg/bh/tools/base/math/geometry/FractionRect; | |
GOTO L5 | |
L34 | |
NEW kotlin/NoWhenBranchMatchedException | |
DUP | |
INVOKESPECIAL kotlin/NoWhenBranchMatchedException.<init> ()V | |
ATHROW | |
L48 | |
LINENUMBER 45 L48 | |
L5 | |
ARETURN | |
L49 | |
LOCALVARIABLE $receiver$iv D L38 L41 4 | |
LOCALVARIABLE $i$f$getClampToPositive I L38 L41 6 | |
LOCALVARIABLE $receiver$iv D L43 L46 4 | |
LOCALVARIABLE $i$f$getClampToPositive I L43 L46 6 | |
LOCALVARIABLE this Lorg/bh/tools/ui/generic/UIAnchor; L0 L49 0 | |
LOCALVARIABLE rect Lorg/bh/tools/base/math/geometry/FractionRect; L0 L49 1 | |
LOCALVARIABLE withinFrame Lorg/bh/tools/base/math/geometry/FractionRect; L0 L49 2 | |
MAXSTACK = 11 | |
MAXLOCALS = 14 | |
Cause: AFTER mandatory stack transformations: incorrect bytecode | |
Element is unknownThe root cause was thrown at: MethodVerifier.kt:28 | |
File being compiled at position: (40,5) in /Users/ben/Google Drive/Libraries/Projects/From Me/My-Talk-Radio/lib/Husky-UI/src/org/bh/tools/ui/generic/UIAnchor.kt | |
The root cause was thrown at: TransformationMethodVisitor.java:88 | |
at org.jetbrains.kotlin.codegen.FunctionCodegen.endVisit(FunctionCodegen.java:916) | |
at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethodBody(FunctionCodegen.java:404) | |
at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:244) | |
at org.jetbrains.kotlin.codegen.FunctionCodegen.generateMethod(FunctionCodegen.java:168) | |
at org.jetbrains.kotlin.codegen.FunctionCodegen.gen(FunctionCodegen.java:139) | |
at org.jetbrains.kotlin.codegen.MemberCodegen.genSimpleMember(MemberCodegen.java:199) | |
at org.jetbrains.kotlin.codegen.ClassBodyCodegen.generateDeclaration(ClassBodyCodegen.java:161) | |
at org.jetbrains.kotlin.codegen.ClassBodyCodegen.generateBody(ClassBodyCodegen.java:75) | |
at org.jetbrains.kotlin.codegen.MemberCodegen.generate(MemberCodegen.java:131) | |
at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:305) | |
at org.jetbrains.kotlin.codegen.MemberCodegen.genClassOrObject(MemberCodegen.java:289) | |
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateClassOrObject(PackageCodegenImpl.java:161) | |
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateClassesAndObjectsInFile(PackageCodegenImpl.java:86) | |
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generateFile(PackageCodegenImpl.java:119) | |
at org.jetbrains.kotlin.codegen.PackageCodegenImpl.generate(PackageCodegenImpl.java:66) | |
at org.jetbrains.kotlin.codegen.DefaultCodegenFactory.generatePackage(CodegenFactory.kt:97) | |
at org.jetbrains.kotlin.codegen.DefaultCodegenFactory.generateModule(CodegenFactory.kt:68) | |
at org.jetbrains.kotlin.codegen.KotlinCodegenFacade.doGenerateFiles(KotlinCodegenFacade.java:47) | |
at org.jetbrains.kotlin.codegen.KotlinCodegenFacade.compileCorrectFiles(KotlinCodegenFacade.java:39) | |
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.generate(KotlinToJVMBytecodeCompiler.kt:454) | |
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli(KotlinToJVMBytecodeCompiler.kt:150) | |
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:161) | |
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:63) | |
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:107) | |
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:51) | |
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:96) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl$compile$$inlined$ifAlive$lambda$1.invoke(CompileServiceImpl.kt:399) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl$compile$$inlined$ifAlive$lambda$1.invoke(CompileServiceImpl.kt:98) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$$inlined$ifAlive$lambda$2.invoke(CompileServiceImpl.kt:920) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$$inlined$ifAlive$lambda$2.invoke(CompileServiceImpl.kt:98) | |
at org.jetbrains.kotlin.daemon.common.DummyProfiler.withMeasure(PerfUtils.kt:137) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl.checkedCompile(CompileServiceImpl.kt:950) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl.doCompile(CompileServiceImpl.kt:919) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:397) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:355) | |
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200) | |
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197) | |
at java.base/java.security.AccessController.doPrivileged(Native Method) | |
at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196) | |
at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567) | |
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:800) | |
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:682) | |
at java.base/java.security.AccessController.doPrivileged(Native Method) | |
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681) | |
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) | |
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) | |
at java.base/java.lang.Thread.run(Thread.java:844) | |
Caused by: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't transform method node: | |
reposition (Lorg/bh/tools/base/math/geometry/FractionRect;Lorg/bh/tools/base/math/geometry/FractionRect;)Lorg/bh/tools/base/math/geometry/FractionRect;: | |
@Lorg/jetbrains/annotations/NotNull;() // invisible | |
@Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 0 | |
@Lorg/jetbrains/annotations/NotNull;() // invisible, parameter 1 | |
L0 | |
ALOAD 1 | |
LDC "rect" | |
INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V | |
ALOAD 2 | |
LDC "withinFrame" | |
INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkParameterIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V | |
L1 | |
LINENUMBER 45 L1 | |
ALOAD 0 | |
ASTORE 3 | |
L2 | |
LINENUMBER 46 L2 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXminY | |
IFEQ L3 | |
L4 | |
ALOAD 1 | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMinX ()Ljava/lang/Double; | |
INVOKEVIRTUAL java/lang/Double.doubleValue ()D | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.xOffset : D | |
DADD | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMinY ()Ljava/lang/Double; | |
INVOKEVIRTUAL java/lang/Double.doubleValue ()D | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.yOffset : D | |
DADD | |
DCONST_0 | |
DCONST_0 | |
BIPUSH 12 | |
ACONST_NULL | |
INVOKESTATIC org/bh/tools/base/math/geometry/Rect.copy$default (Lorg/bh/tools/base/math/geometry/Rect;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;ILjava/lang/Object;)Lorg/bh/tools/base/math/geometry/Rect; | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L3 | |
LINENUMBER 47 L3 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXminY | |
IFEQ L6 | |
L7 | |
NOP | |
L8 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L9 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L6 | |
LINENUMBER 48 L6 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXminY | |
IFEQ L10 | |
L11 | |
NOP | |
L12 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L13 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L10 | |
LINENUMBER 49 L10 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXmidY | |
IFEQ L14 | |
L15 | |
NOP | |
L16 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L17 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L14 | |
LINENUMBER 50 L14 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXmidY | |
IFEQ L18 | |
L19 | |
NOP | |
L20 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L21 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L18 | |
LINENUMBER 51 L18 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXmidY | |
IFEQ L22 | |
L23 | |
NOP | |
L24 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L25 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L22 | |
LINENUMBER 52 L22 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$minXmaxY | |
IFEQ L26 | |
L27 | |
NOP | |
L28 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L29 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L26 | |
LINENUMBER 53 L26 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$midXmaxY | |
IFEQ L30 | |
L31 | |
NOP | |
L32 | |
NEW kotlin/NotImplementedError | |
DUP | |
ACONST_NULL | |
ICONST_1 | |
ACONST_NULL | |
INVOKESPECIAL kotlin/NotImplementedError.<init> (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L33 | |
ACONST_NULL | |
ATHROW | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
GOTO L5 | |
L30 | |
LINENUMBER 54 L30 | |
ALOAD 3 | |
INSTANCEOF org/bh/tools/ui/generic/UIAnchor$maxXmaxY | |
IFEQ L34 | |
L35 | |
LINENUMBER 55 L35 | |
L36 | |
LINENUMBER 54 L36 | |
ALOAD 1 | |
ALOAD 2 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getMaxXmaxY ()Lorg/bh/tools/base/math/geometry/FractionPoint; | |
CHECKCAST org/bh/tools/base/math/geometry/ComputablePoint | |
ACONST_NULL | |
ICONST_2 | |
ACONST_NULL | |
INVOKESTATIC org/bh/tools/base/math/geometry/Rect.copy$default (Lorg/bh/tools/base/math/geometry/Rect;Lorg/bh/tools/base/math/geometry/Point;Lorg/bh/tools/base/math/geometry/Size;ILjava/lang/Object;)Lorg/bh/tools/base/math/geometry/Rect; | |
CHECKCAST org/bh/tools/base/math/geometry/FractionRect | |
L37 | |
LINENUMBER 55 L37 | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.xOffset : D | |
ALOAD 1 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getWidth ()Ljava/lang/Number; | |
INVOKEVIRTUAL java/lang/Number.doubleValue ()D | |
DSTORE 4 | |
DSTORE 8 | |
ASTORE 7 | |
NOP | |
L38 | |
LINENUMBER 146 L38 | |
DLOAD 4 | |
DCONST_0 | |
DCMPG | |
IFGE L39 | |
DCONST_0 | |
GOTO L40 | |
L39 | |
DLOAD 4 | |
L40 | |
NOP | |
GOTO L41 | |
L41 | |
DSTORE 10 | |
ALOAD 7 | |
DLOAD 8 | |
DLOAD 10 | |
L42 | |
LINENUMBER 55 L42 | |
DSUB | |
ALOAD 0 | |
GETFIELD org/bh/tools/ui/generic/UIAnchor.yOffset : D | |
ALOAD 1 | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.getHeight ()Ljava/lang/Number; | |
INVOKEVIRTUAL java/lang/Number.doubleValue ()D | |
DSTORE 4 | |
DSTORE 10 | |
DSTORE 8 | |
ASTORE 7 | |
NOP | |
L43 | |
LINENUMBER 147 L43 | |
DLOAD 4 | |
DCONST_0 | |
DCMPG | |
IFGE L44 | |
DCONST_0 | |
GOTO L45 | |
L44 | |
DLOAD 4 | |
L45 | |
NOP | |
GOTO L46 | |
L46 | |
DSTORE 12 | |
ALOAD 7 | |
DLOAD 8 | |
DLOAD 10 | |
DLOAD 12 | |
L47 | |
LINENUMBER 55 L47 | |
DSUB | |
INVOKEVIRTUAL org/bh/tools/base/math/geometry/FractionRect.offset (DD)Lorg/bh/tools/base/math/geometry/FractionRect; | |
GOTO L5 | |
L34 | |
NEW kotlin/NoWhenBranchMatchedException | |
DUP | |
INVOKESPECIAL kotlin/NoWhenBranchMatchedException.<init> ()V | |
ATHROW | |
L48 | |
LINENUMBER 45 L48 | |
L5 | |
ARETURN | |
L49 | |
LOCALVARIABLE $receiver$iv D L38 L41 4 | |
LOCALVARIABLE $i$f$getClampToPositive I L38 L41 6 | |
LOCALVARIABLE $receiver$iv D L43 L46 4 | |
LOCALVARIABLE $i$f$getClampToPositive I L43 L46 6 | |
LOCALVARIABLE this Lorg/bh/tools/ui/generic/UIAnchor; L0 L49 0 | |
LOCALVARIABLE rect Lorg/bh/tools/base/math/geometry/FractionRect; L0 L49 1 | |
LOCALVARIABLE withinFrame Lorg/bh/tools/base/math/geometry/FractionRect; L0 L49 2 | |
MAXSTACK = 11 | |
MAXLOCALS = 14 | |
Cause: AFTER mandatory stack transformations: incorrect bytecode | |
Element is unknownThe root cause was thrown at: MethodVerifier.kt:28 | |
at org.jetbrains.kotlin.codegen.TransformationMethodVisitor.visitEnd(TransformationMethodVisitor.java:88) | |
at org.jetbrains.kotlin.codegen.FunctionCodegen.endVisit(FunctionCodegen.java:904) | |
... 50 more | |
Caused by: java.lang.AssertionError: AFTER mandatory stack transformations: incorrect bytecode | |
at org.jetbrains.kotlin.codegen.optimization.MethodVerifier.transform(MethodVerifier.kt:28) | |
at org.jetbrains.kotlin.codegen.optimization.transformer.CompositeMethodTransformer.transform(CompositeMethodTransformer.kt:25) | |
at org.jetbrains.kotlin.codegen.optimization.OptimizationMethodVisitor.performTransformations(OptimizationMethodVisitor.kt:44) | |
at org.jetbrains.kotlin.codegen.TransformationMethodVisitor.visitEnd(TransformationMethodVisitor.java:65) | |
... 51 more | |
Caused by: java.lang.RuntimeException: org.jetbrains.org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 34: Argument 2: expected R, but found D | |
at org.jetbrains.kotlin.codegen.optimization.transformer.MethodTransformer.runAnalyzer(MethodTransformer.java:34) | |
at org.jetbrains.kotlin.codegen.optimization.transformer.MethodTransformer.analyze(MethodTransformer.java:44) | |
at org.jetbrains.kotlin.codegen.optimization.MethodVerifier.transform(MethodVerifier.kt:26) | |
... 54 more | |
Caused by: org.jetbrains.org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 34: Argument 2: expected R, but found D | |
at org.jetbrains.org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:295) | |
at org.jetbrains.kotlin.codegen.optimization.transformer.MethodTransformer.runAnalyzer(MethodTransformer.java:31) | |
... 56 more | |
Caused by: org.jetbrains.org.objectweb.asm.tree.analysis.AnalyzerException: Argument 2: expected R, but found D | |
at org.jetbrains.org.objectweb.asm.tree.analysis.BasicVerifier.naryOperation(BasicVerifier.java:402) | |
at org.jetbrains.org.objectweb.asm.tree.analysis.BasicVerifier.naryOperation(BasicVerifier.java:47) | |
at org.jetbrains.org.objectweb.asm.tree.analysis.Frame.execute(Frame.java:620) | |
at org.jetbrains.org.objectweb.asm.tree.analysis.Analyzer.analyze(Analyzer.java:200) | |
... 57 more |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kotlin: [Internal Error] org.jetbrains.kotlin.util.KotlinFrontEndException: Exception while analyzing expression at (26,41) in /Users/ben/Documents/Git/From Me/Decision-Cruncher/lib/Blue-Base/src/test/kotlin/org/bh/tools/base/math/NumberConversionKtTest.kt | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.logOrThrowException(ExpressionTypingVisitorDispatcher.java:240) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.lambda$getTypeInfo$0(ExpressionTypingVisitorDispatcher.java:211) | |
at org.jetbrains.kotlin.util.PerformanceCounter.time(PerformanceCounter.kt:91) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:161) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:132) | |
at org.jetbrains.kotlin.types.expressions.BasicExpressionTypingVisitor.getTypeInfoForBinaryCall(BasicExpressionTypingVisitor.java:1510) | |
at org.jetbrains.kotlin.types.expressions.BasicExpressionTypingVisitor.visitBinaryExpression(BasicExpressionTypingVisitor.java:1047) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.visitBinaryExpression(ExpressionTypingVisitorDispatcher.java:390) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher$ForDeclarations.visitBinaryExpression(ExpressionTypingVisitorDispatcher.java:44) | |
at org.jetbrains.kotlin.psi.KtBinaryExpression.accept(KtBinaryExpression.java:33) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.lambda$getTypeInfo$0(ExpressionTypingVisitorDispatcher.java:172) | |
at org.jetbrains.kotlin.util.PerformanceCounter.time(PerformanceCounter.kt:91) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:161) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:132) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.getTypeInfo(ExpressionTypingVisitorDispatcher.java:144) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingServices.getTypeInfo(ExpressionTypingServices.java:114) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingServices.getTypeInfo(ExpressionTypingServices.java:93) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingServices.getType(ExpressionTypingServices.java:130) | |
at org.jetbrains.kotlin.resolve.BodyResolver.resolvePropertyInitializer(BodyResolver.java:880) | |
at org.jetbrains.kotlin.resolve.BodyResolver.resolveProperty(BodyResolver.java:750) | |
at org.jetbrains.kotlin.resolve.BodyResolver.resolvePropertyDeclarationBodies(BodyResolver.java:777) | |
at org.jetbrains.kotlin.resolve.BodyResolver.resolveBehaviorDeclarationBodies(BodyResolver.java:117) | |
at org.jetbrains.kotlin.resolve.BodyResolver.resolveBodies(BodyResolver.java:242) | |
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer.analyzeDeclarations(LazyTopDownAnalyzer.kt:225) | |
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer.analyzeDeclarations$default(LazyTopDownAnalyzer.kt:60) | |
at org.jetbrains.kotlin.js.analyze.TopDownAnalyzerFacadeForJS.analyzeFilesWithGivenTrace(TopDownAnalyzerFacadeForJS.kt:96) | |
at org.jetbrains.kotlin.js.analyze.TopDownAnalyzerFacadeForJS.analyzeFiles(TopDownAnalyzerFacadeForJS.kt:65) | |
at org.jetbrains.kotlin.js.analyze.TopDownAnalyzerFacadeForJS.analyzeFiles(TopDownAnalyzerFacadeForJS.kt:40) | |
at org.jetbrains.kotlin.cli.js.K2JSCompiler.lambda$doExecute$1(K2JSCompiler.java:236) | |
at org.jetbrains.kotlin.cli.common.messages.AnalyzerWithCompilerReport.analyzeAndReport(AnalyzerWithCompilerReport.kt:107) | |
at org.jetbrains.kotlin.cli.js.K2JSCompiler.doExecute(K2JSCompiler.java:236) | |
at org.jetbrains.kotlin.cli.js.K2JSCompiler.doExecute(K2JSCompiler.java:82) | |
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:96) | |
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.java:52) | |
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:93) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl$compile$$inlined$ifAlive$lambda$1.invoke(CompileServiceImpl.kt:436) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl$compile$$inlined$ifAlive$lambda$1.invoke(CompileServiceImpl.kt:102) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$$inlined$ifAlive$lambda$2.invoke(CompileServiceImpl.kt:1029) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl$doCompile$$inlined$ifAlive$lambda$2.invoke(CompileServiceImpl.kt:102) | |
at org.jetbrains.kotlin.daemon.common.DummyProfiler.withMeasure(PerfUtils.kt:137) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl.checkedCompile(CompileServiceImpl.kt:1071) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl.doCompile(CompileServiceImpl.kt:1028) | |
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:434) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359) | |
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200) | |
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197) | |
at java.base/java.security.AccessController.doPrivileged(Native Method) | |
at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196) | |
at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562) | |
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796) | |
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677) | |
at java.base/java.security.AccessController.doPrivileged(Native Method) | |
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676) | |
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
at java.base/java.lang.Thread.run(Thread.java:834) | |
Caused by: java.lang.IllegalStateException: Arrays of class literals are not supported yet | |
at org.jetbrains.kotlin.serialization.deserialization.AnnotationDeserializer.resolveArrayElementType(AnnotationDeserializer.kt:156) | |
at org.jetbrains.kotlin.serialization.deserialization.AnnotationDeserializer.resolveValue(AnnotationDeserializer.kt:96) | |
at org.jetbrains.kotlin.serialization.deserialization.AnnotationDeserializer.resolveArgument(AnnotationDeserializer.kt:63) | |
at org.jetbrains.kotlin.serialization.deserialization.AnnotationDeserializer.deserializeAnnotation(AnnotationDeserializer.kt:50) | |
at org.jetbrains.kotlin.serialization.deserialization.AnnotationAndConstantLoaderImpl.loadCallableAnnotations(AnnotationAndConstantLoaderImpl.kt:54) | |
at org.jetbrains.kotlin.serialization.deserialization.MemberDeserializer$getAnnotations$1.invoke(MemberDeserializer.kt:369) | |
at org.jetbrains.kotlin.serialization.deserialization.MemberDeserializer$getAnnotations$1.invoke(MemberDeserializer.kt:27) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:354) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedNotNullLazyValue.invoke(LockBasedStorageManager.java:410) | |
at org.jetbrains.kotlin.storage.StorageKt.getValue(storage.kt:42) | |
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedAnnotations.getAnnotations(DeserializedAnnotations.kt) | |
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedAnnotations.iterator(DeserializedAnnotations.kt:32) | |
at org.jetbrains.kotlin.descriptors.annotations.Annotations$DefaultImpls.findAnnotation(Annotations.kt:99) | |
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedAnnotations.findAnnotation(DeserializedAnnotations.kt:24) | |
at org.jetbrains.kotlin.descriptors.annotations.Annotations$DefaultImpls.hasAnnotation(Annotations.kt:30) | |
at org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedAnnotations.hasAnnotation(DeserializedAnnotations.kt:24) | |
at org.jetbrains.kotlin.resolve.descriptorUtil.AnnotationsForResolveKt.hasLowPriorityInOverloadResolution(annotationsForResolve.kt:36) | |
at org.jetbrains.kotlin.resolve.calls.tower.AbstractScopeTowerLevel.createCandidateDescriptor(TowerLevels.kt:61) | |
at org.jetbrains.kotlin.resolve.calls.tower.AbstractScopeTowerLevel.createCandidateDescriptor$default(TowerLevels.kt:53) | |
at org.jetbrains.kotlin.resolve.calls.tower.ScopeBasedTowerLevel.getFunctions(TowerLevels.kt:260) | |
at org.jetbrains.kotlin.resolve.calls.tower.ScopeTowerProcessorsKt$createSimpleFunctionProcessor$1.invoke(ScopeTowerProcessors.kt:233) | |
at org.jetbrains.kotlin.resolve.calls.tower.ScopeTowerProcessorsKt$createSimpleFunctionProcessor$1.invoke(ScopeTowerProcessors.kt) | |
at org.jetbrains.kotlin.resolve.calls.tower.ExplicitReceiverScopeTowerProcessor.simpleProcess(ScopeTowerProcessors.kt:104) | |
at org.jetbrains.kotlin.resolve.calls.tower.SimpleScopeTowerProcessor$DefaultImpls.process(ScopeTowerProcessors.kt:60) | |
at org.jetbrains.kotlin.resolve.calls.tower.AbstractSimpleScopeTowerProcessor.process(ScopeTowerProcessors.kt:63) | |
at org.jetbrains.kotlin.resolve.calls.tower.PrioritizedCompositeScopeTowerProcessor.process(ScopeTowerProcessors.kt:38) | |
at org.jetbrains.kotlin.resolve.calls.tower.TowerResolver.processTowerData(TowerResolver.kt:273) | |
at org.jetbrains.kotlin.resolve.calls.tower.TowerResolver.access$processTowerData(TowerResolver.kt:77) | |
at org.jetbrains.kotlin.resolve.calls.tower.TowerResolver$Task.process(TowerResolver.kt:158) | |
at org.jetbrains.kotlin.resolve.calls.tower.TowerResolver$Task.process(TowerResolver.kt:167) | |
at org.jetbrains.kotlin.resolve.calls.tower.TowerResolver$Task.run(TowerResolver.kt:199) | |
at org.jetbrains.kotlin.resolve.calls.tower.TowerResolver.run(TowerResolver.kt:96) | |
at org.jetbrains.kotlin.resolve.calls.tower.TowerResolver.runResolve(TowerResolver.kt:83) | |
at org.jetbrains.kotlin.resolve.calls.tower.NewResolutionOldInference.runResolution(NewResolutionOldInference.kt:190) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.doResolveCall(CallResolver.java:681) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.doResolveCallOrGetCachedResults(CallResolver.java:589) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.lambda$computeTasksAndResolveCall$0(CallResolver.java:208) | |
at org.jetbrains.kotlin.util.PerformanceCounter.time(PerformanceCounter.kt:91) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.computeTasksAndResolveCall(CallResolver.java:206) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.computeTasksAndResolveCall(CallResolver.java:196) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.resolveCallForMember(CallResolver.java:149) | |
at org.jetbrains.kotlin.types.expressions.DoubleColonExpressionResolver.tryResolveRHSWithReceiver(DoubleColonExpressionResolver.kt:686) | |
at org.jetbrains.kotlin.types.expressions.DoubleColonExpressionResolver.access$tryResolveRHSWithReceiver(DoubleColonExpressionResolver.kt:80) | |
at org.jetbrains.kotlin.types.expressions.DoubleColonExpressionResolver$resolveCallableReferenceRHS$resultSequence$1.invokeSuspend(DoubleColonExpressionResolver.kt:736) | |
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32) | |
at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:137) | |
at org.jetbrains.kotlin.types.expressions.DoubleColonExpressionResolver.resolveCallableReferenceRHS(DoubleColonExpressionResolver.kt:767) | |
at org.jetbrains.kotlin.types.expressions.DoubleColonExpressionResolver.resolveCallableReference(DoubleColonExpressionResolver.kt:630) | |
at org.jetbrains.kotlin.resolve.calls.ArgumentTypeResolver.getShapeTypeOfCallableReference(ArgumentTypeResolver.java:273) | |
at org.jetbrains.kotlin.resolve.calls.ArgumentTypeResolver.getCallableReferenceTypeInfo(ArgumentTypeResolver.java:260) | |
at org.jetbrains.kotlin.resolve.calls.ArgumentTypeResolver.getArgumentTypeInfo(ArgumentTypeResolver.java:204) | |
at org.jetbrains.kotlin.resolve.calls.ArgumentTypeResolver.analyzeArgumentsAndRecordTypes(ArgumentTypeResolver.java:394) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.doResolveCall(CallResolver.java:661) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.doResolveCallOrGetCachedResults(CallResolver.java:589) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.lambda$computeTasksAndResolveCall$0(CallResolver.java:208) | |
at org.jetbrains.kotlin.util.PerformanceCounter.time(PerformanceCounter.kt:91) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.computeTasksAndResolveCall(CallResolver.java:206) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.computeTasksAndResolveCall(CallResolver.java:196) | |
at org.jetbrains.kotlin.resolve.calls.CallResolver.resolveFunctionCall(CallResolver.java:321) | |
at org.jetbrains.kotlin.resolve.calls.CallExpressionResolver.getResolvedCallForFunction(CallExpressionResolver.kt:93) | |
at org.jetbrains.kotlin.resolve.calls.CallExpressionResolver.getCallExpressionTypeInfoWithoutFinalTypeCheck(CallExpressionResolver.kt:215) | |
at org.jetbrains.kotlin.resolve.calls.CallExpressionResolver.getUnsafeSelectorTypeInfo(CallExpressionResolver.kt:330) | |
at org.jetbrains.kotlin.resolve.calls.CallExpressionResolver.getSafeOrUnsafeSelectorTypeInfo(CallExpressionResolver.kt:362) | |
at org.jetbrains.kotlin.resolve.calls.CallExpressionResolver.getQualifiedExpressionTypeInfo(CallExpressionResolver.kt:449) | |
at org.jetbrains.kotlin.types.expressions.BasicExpressionTypingVisitor.visitQualifiedExpression(BasicExpressionTypingVisitor.java:714) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.visitQualifiedExpression(ExpressionTypingVisitorDispatcher.java:370) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher$ForDeclarations.visitQualifiedExpression(ExpressionTypingVisitorDispatcher.java:44) | |
at org.jetbrains.kotlin.psi.KtVisitor.visitDotQualifiedExpression(KtVisitor.java:302) | |
at org.jetbrains.kotlin.psi.KtDotQualifiedExpression.accept(KtDotQualifiedExpression.kt:31) | |
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.lambda$getTypeInfo$0(ExpressionTypingVisitorDispatcher.java:172) | |
... 58 more | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassMemberMatchingError$NoMatch: Couldn't match ClsMethodImpl:topLeft MemberIndex(index=8) (with 4 parameters) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder.assertMatches(LazyLightClassDataHolder.kt:145) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder.access$assertMatches(LazyLightClassDataHolder.kt:32) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder$LazyLightClassData$getOwnMethods$$inlined$map$lambda$1.invoke(LazyLightClassDataHolder.kt:138) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder$LazyLightClassData$getOwnMethods$$inlined$map$lambda$1.invoke(LazyLightClassDataHolder.kt:100) | |
at kotlin.SafePublicationLazyImpl.getValue(LazyJVM.kt:107) | |
at org.jetbrains.kotlin.asJava.elements.KtLightMemberImpl.getClsDelegate(KtLightMemberImpl.kt) | |
at org.jetbrains.kotlin.asJava.elements.KtLightMethodImpl$paramsList$2$1.invoke(KtLightMethodImpl.kt:54) | |
at org.jetbrains.kotlin.asJava.elements.KtLightMethodImpl$paramsList$2$1.invoke(KtLightMethodImpl.kt:39) | |
at org.jetbrains.kotlin.asJava.elements.KtLightParameterList$_parameters$2.invoke(KtLightParameterList.kt:36) | |
at org.jetbrains.kotlin.asJava.elements.KtLightParameterList$_parameters$2.invoke(KtLightParameterList.kt:27) | |
at kotlin.SafePublicationLazyImpl.getValue(LazyJVM.kt:107) | |
at org.jetbrains.kotlin.asJava.elements.KtLightParameterList.get_parameters(KtLightParameterList.kt) | |
at org.jetbrains.kotlin.asJava.elements.KtLightParameterList.getParameters(KtLightParameterList.kt:37) | |
at org.jetbrains.kotlin.asJava.LightClassUtilsKt.toPsiParameters(lightClassUtils.kt:107) | |
at org.jetbrains.kotlin.asJava.LightClassUtilsKt.toLightElements(lightClassUtils.kt:62) | |
at org.jetbrains.kotlin.idea.jvm.KotlinDeclarationSearcher.getLightElements(KotlinDeclarationSearcher.kt:28) | |
at org.jetbrains.kotlin.idea.jvm.KotlinDeclarationSearcher.findDeclarations(KotlinDeclarationSearcher.kt:18) | |
at com.intellij.lang.jvm.source.JvmDeclarationSearch$1.createValueIterator(JvmDeclarationSearch.java:85) | |
at com.intellij.lang.jvm.source.JvmDeclarationSearch$1.createValueIterator(JvmDeclarationSearch.java:76) | |
at com.intellij.util.containers.FlatteningIterator.hasNext(FlatteningIterator.java:41) | |
at com.intellij.lang.jvm.source.JvmDeclarationSearch$1.hasNext(JvmDeclarationSearch.java:80) | |
at com.intellij.lang.jvm.inspection.JvmLocalInspection$1.visitElement(JvmLocalInspection.java:29) | |
at com.intellij.psi.impl.source.tree.LeafPsiElement.accept(LeafPsiElement.java:209) | |
at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:75) | |
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:63) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:292) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$null$5(LocalInspectionsPass.java:260) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:126) | |
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:115) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$6(LocalInspectionsPass.java:257) | |
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:133) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1163) | |
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87) | |
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:116) | |
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:147) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:222) | |
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96) | |
at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) | |
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) | |
at java.util.concurrent.ForkJoinPool$WorkQueue.pollAndExecCC(ForkJoinPool.java:1190) | |
at java.util.concurrent.ForkJoinPool.helpComplete(ForkJoinPool.java:1879) | |
at java.util.concurrent.ForkJoinPool.awaitJoin(ForkJoinPool.java:2045) | |
at java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:390) | |
at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719) | |
at java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2616) | |
at com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:65) | |
at com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:56) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.visitPriorityElementsAndInit(LocalInspectionsPass.java:263) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:196) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:115) | |
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84) | |
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:69) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:423) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1168) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:416) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:415) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:391) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:147) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:222) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:389) | |
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:161) | |
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) | |
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) | |
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) | |
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.Throwable: Rewrite at slice CONSTRUCTOR key: PRIMARY_CONSTRUCTOR old value: ClassConstructorDescriptorImpl <init>@256952459 new value: ClassConstructorDescriptorImpl <init>@431018387 | |
File name: RésuméPortal.kt Physical: true Injected: false | |
/** | |
* @author Ben Leggiero | |
* @since 2018-12-23 | |
*/ | |
data class RésuméPortal<caret>( | |
val résumés: List<Résumé> | |
): HtmlElementRenderable { | |
override fun renderToHtmlElement(): HTMLElement { | |
val listElement = document.createElement("ul") | |
listElement.addClass("résumé-portal") | |
listElement.appendChild() | |
val x = résumés | |
.map(::RésuméPortalItem) | |
.map(HtmlElementRenderable::renderToHtmlElement) | |
// .joinToString { "<li><a href=''>${it.renderToHtmlString()}</a></li>" } | |
} | |
} | |
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:134) | |
at org.jetbrains.kotlin.util.slicedMap.Slices.logErrorAboutRewritingNonEqualObjects(Slices.java:157) | |
at org.jetbrains.kotlin.util.slicedMap.Slices.access$000(Slices.java:30) | |
at org.jetbrains.kotlin.util.slicedMap.Slices$1.processRewrite(Slices.java:42) | |
at org.jetbrains.kotlin.util.slicedMap.SlicedMapImpl.put(SlicedMapImpl.java:65) | |
at org.jetbrains.kotlin.resolve.BindingTraceContext.record(BindingTraceContext.java:135) | |
at org.jetbrains.kotlin.storage.LockBasedLazyResolveStorageManager$LockProtectedTrace$record$1.invoke(LockBasedLazyResolveStorageManager.kt:71) | |
at org.jetbrains.kotlin.storage.LockBasedLazyResolveStorageManager$LockProtectedTrace$record$1.invoke(LockBasedLazyResolveStorageManager.kt:59) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager.compute(LockBasedStorageManager.java:231) | |
at org.jetbrains.kotlin.storage.LockBasedLazyResolveStorageManager$LockProtectedTrace.record(LockBasedLazyResolveStorageManager.kt:71) | |
at org.jetbrains.kotlin.resolve.FunctionDescriptorResolver.createConstructorDescriptor(FunctionDescriptorResolver.kt:380) | |
at org.jetbrains.kotlin.resolve.FunctionDescriptorResolver.resolvePrimaryConstructorDescriptor(FunctionDescriptorResolver.kt:331) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.resolvePrimaryConstructor(LazyClassMemberScope.kt:438) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope$primaryConstructor$1.invoke(LazyClassMemberScope.kt:131) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope$primaryConstructor$1.invoke(LazyClassMemberScope.kt:46) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:354) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.getPrimaryConstructor(LazyClassMemberScope.kt:426) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.createPropertiesFromPrimaryConstructorParameters(LazyClassMemberScope.kt:355) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.getNonDeclaredProperties(LazyClassMemberScope.kt:340) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope.doGetProperties(AbstractLazyMemberScope.kt:155) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope.access$doGetProperties(AbstractLazyMemberScope.kt:38) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope$propertyDescriptors$1.invoke(AbstractLazyMemberScope.kt:52) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope$propertyDescriptors$1.invoke(AbstractLazyMemberScope.kt:38) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$MapBasedMemoizedFunction.invoke(LockBasedStorageManager.java:448) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$MapBasedMemoizedFunctionToNotNull.invoke(LockBasedStorageManager.java:523) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope.getContributedVariables(AbstractLazyMemberScope.kt:124) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.getContributedVariables(LazyClassMemberScope.kt:325) | |
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver$resolveToDescriptor$1.visitParameter(LazyDeclarationResolver.kt:139) | |
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver$resolveToDescriptor$1.visitParameter(LazyDeclarationResolver.kt:94) | |
at org.jetbrains.kotlin.psi.KtParameter.accept(KtParameter.java:50) | |
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.resolveToDescriptor(LazyDeclarationResolver.kt:94) | |
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.resolveToDescriptor(LazyDeclarationResolver.kt:91) | |
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer$analyzeDeclarations$1.registerPrimaryConstructorParameters(LazyTopDownAnalyzer.kt:155) | |
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer$analyzeDeclarations$1.visitClass(LazyTopDownAnalyzer.kt:147) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitClass(KtVisitorVoid.java:459) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitClass(KtVisitorVoid.java:21) | |
at org.jetbrains.kotlin.psi.KtClass.accept(KtClass.kt:34) | |
at org.jetbrains.kotlin.psi.KtElementImplStub.accept(KtElementImplStub.java:59) | |
at org.jetbrains.kotlin.resolve.ExceptionWrappingKtVisitorVoid.visitDeclaration(ExceptionWrappingKtVisitorVoid.kt:32) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitDeclaration(KtVisitorVoid.java:453) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitDeclaration(KtVisitorVoid.java:21) | |
at org.jetbrains.kotlin.psi.KtVisitor.visitNamedDeclaration(KtVisitor.java:398) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitNamedDeclaration(KtVisitorVoid.java:381) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitNamedDeclaration(KtVisitorVoid.java:959) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitNamedDeclaration(KtVisitorVoid.java:21) | |
at org.jetbrains.kotlin.psi.KtVisitor.visitClassOrObject(KtVisitor.java:41) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitClassOrObject(KtVisitorVoid.java:37) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitClassOrObject(KtVisitorVoid.java:465) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitClassOrObject(KtVisitorVoid.java:21) | |
at org.jetbrains.kotlin.psi.KtVisitor.visitClass(KtVisitor.java:33) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitClass(KtVisitorVoid.java:33) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitClass(KtVisitorVoid.java:459) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitClass(KtVisitorVoid.java:21) | |
at org.jetbrains.kotlin.psi.KtClass.accept(KtClass.kt:34) | |
at org.jetbrains.kotlin.psi.KtElementImplStub.accept(KtElementImplStub.java:59) | |
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer$analyzeDeclarations$1.registerDeclarations(LazyTopDownAnalyzer.kt:78) | |
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer$analyzeDeclarations$1.visitKtFile(LazyTopDownAnalyzer.kt:96) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitKtFile(KtVisitorVoid.java:513) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitKtFile(KtVisitorVoid.java:21) | |
at org.jetbrains.kotlin.psi.KtFile.accept(KtFile.kt:221) | |
at org.jetbrains.kotlin.psi.KtFile.accept(KtFile.kt:208) | |
at org.jetbrains.kotlin.resolve.ExceptionWrappingKtVisitorVoid.visitElement(ExceptionWrappingKtVisitorVoid.kt:27) | |
at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:34) | |
at org.jetbrains.kotlin.psi.KtVisitor.visitKtFile(KtVisitor.java:73) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitKtFile(KtVisitorVoid.java:69) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitKtFile(KtVisitorVoid.java:513) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitKtFile(KtVisitorVoid.java:21) | |
at org.jetbrains.kotlin.psi.KtFile.accept(KtFile.kt:221) | |
at org.jetbrains.kotlin.psi.KtFile.accept(KtFile.kt:208) | |
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer.analyzeDeclarations(LazyTopDownAnalyzer.kt:201) | |
at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer.analyzeDeclarations$default(LazyTopDownAnalyzer.kt:60) | |
at org.jetbrains.kotlin.idea.caches.resolve.KotlinResolveDataProvider.analyze(PerFileAnalysisCache.kt:198) | |
at org.jetbrains.kotlin.idea.caches.resolve.PerFileAnalysisCache.analyze(PerFileAnalysisCache.kt:101) | |
at org.jetbrains.kotlin.idea.caches.resolve.PerFileAnalysisCache.getAnalysisResults(PerFileAnalysisCache.kt:86) | |
at org.jetbrains.kotlin.idea.caches.resolve.ProjectResolutionFacade.getAnalysisResultsForElements$idea_core(ProjectResolutionFacade.kt:200) | |
at org.jetbrains.kotlin.idea.caches.resolve.ModuleResolutionFacadeImpl.analyzeWithAllCompilerChecks(ModuleResolutionFacadeImpl.kt:63) | |
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionFacadeWithDebugInfo.analyzeWithAllCompilerChecks(ResolutionFacadeWithDebugInfo.kt:50) | |
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionUtils.analyzeWithAllCompilerChecks(resolutionApi.kt:141) | |
at org.jetbrains.kotlin.idea.highlighter.KotlinPsiChecker.annotate(KotlinPsiChecker.kt:66) | |
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:120) | |
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:87) | |
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:353) | |
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:286) | |
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:313) | |
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:316) | |
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:71) | |
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:316) | |
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:283) | |
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:227) | |
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84) | |
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:69) | |
at com.intellij.codeInsight.problems.WolfTheProblemSolverImpl.orderVincentToCleanTheCar(WolfTheProblemSolverImpl.java:259) | |
at com.intellij.codeInsight.problems.WolfTheProblemSolverImpl.startCheckingIfVincentSolvedProblemsYet(WolfTheProblemSolverImpl.java:212) | |
at com.intellij.codeInsight.daemon.impl.WolfHighlightingPass.collectInformationWithProgress(WolfHighlightingPass.java:43) | |
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84) | |
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:69) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:423) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1168) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:416) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:415) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:391) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:147) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:222) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:389) | |
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:161) | |
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) | |
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) | |
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) | |
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.Throwable: Rewrite at slice LEXICAL_SCOPE key: VALUE_PARAMETER_LIST old value: Snapshot(0) for FUNCTION_HEADER@969578134 new value: Snapshot(0) for FUNCTION_HEADER@298866588 | |
File name: UIAnchor.kt Physical: true Injected: false | |
/** | |
* An anchor on a 2D view. For instance, the top-center, bottom-right, or center-center | |
*/ | |
sealed class UIAnchor( | |
/** | |
* The distance on the X axis by which an element is offset from its parent, relative to this anchor point on | |
* both the element and its parent | |
*/ | |
val xOffset: Fraction, | |
/** | |
* The distance on the Y axis by which an element is offset from its parent, relative to this anchor point on | |
* both the element and its parent | |
*/ | |
val yOffset: Fraction) { | |
/** The lowest X and Y values; the [origin] */ | |
class minXminY(xOffset: Fraction = 0.0, yOffset: Fraction = 0.0): UIAnchor(xOffset, yOffset) | |
class midXminY(xOffset: Fraction = 0.0, yOffset: Fraction = 0.0): UIAnchor(xOffset, yOffset) | |
class maxXminY(xOffset: Fraction = 0.0, yOffset: Fraction = 0.0): UIAnchor(xOffset, yOffset) | |
class minXmidY(xOffset: Fraction = 0.0, yOffset: Fraction = 0.0): UIAnchor(xOffset, yOffset) | |
class midXmidY(xOffset: Fraction = 0.0, yOffset: Fraction = 0.0): UIAnchor(xOffset, yOffset) | |
class maxXmidY(xOffset: Fraction = 0.0, yOffset: Fraction = 0.0): UIAnchor(xOffset, yOffset) | |
class minXmaxY(xOffset: Fraction = 0.0, yOffset: Fraction = 0.0): UIAnchor(xOffset, yOffset) | |
class midXmaxY(xOffset: Fraction = 0.0, yOffset: Fraction = 0.0): UIAnchor(xOffset, yOffset) | |
/** The highest X and Y values */ | |
class maxXmaxY(xOffset: Fraction = 0.0, yOffset: Fraction = 0.0): UIAnchor(xOffset, yOffset) | |
/* FIXME: Crashes the Kotlin compiler | |
/** | |
* Moves the given rect to a new position within the given frame, using this anchor as a reference point for both | |
* rectangles, and offsetting from that reference point | |
*/ | |
fun reposition(rect: FractionRect, within: FractionRect): FractionRect { | |
@Suppress("UnnecessaryVariable") | |
val frame = within | |
return when (this) { | |
is minXminY -> rect.copy(newX = frame.minX + xOffset, newY = frame.minY + yOffset) // TODO: Test | |
is midXminY -> TODO() | |
is maxXminY -> TODO() | |
is minXmidY -> TODO() | |
is midXmidY -> TODO() | |
is maxXmidY -> TODO() | |
is minXmaxY -> TODO() | |
is midXmaxY -> TODO() | |
is maxXmaxY -> rect.copy(newOrigin = frame.maxXmaxY) | |
.offset(xOffset - rect.width.clampToPositive, yOffset - rect.height.clampToPositive) | |
} | |
} | |
*/ | |
companion object { | |
/** | |
* The center point on a plane | |
*/ | |
val centerCenter = midXmidY(0.0, 0.0) | |
@JvmStatic | |
fun topLeft(y: AxisOrientation = euclidean, | |
x: AxisOrientation = euclidean, | |
xOffset: Fraction = 0.0, | |
yOffset: Fraction = 0.0 | |
): UIAnchor = when (y) { | |
euclidean -> when (x) { | |
euclidean -> minXmaxY(xOffset = xOffset, yOffset = yOffset) | |
flipped -> maxXmaxY(xOffset = xOffset, yOffset = yOffset) | |
} | |
flipped -> when (x) { | |
euclidean -> minXminY(xOffset = xOffset, yOffset = yOffset) | |
flipped -> maxXminY(xOffset = xOffset, yOffset = yOffset) | |
} | |
} | |
@JvmStatic | |
fun topRight<caret>(y: AxisOrientation = euclidean, | |
x: AxisOrientation = euclidean, | |
xOffset: Fraction = 0.0, | |
yOffset: Fraction = 0.0 | |
): UIAnchor = when (y) { | |
euclidean -> when (x) { | |
euclidean -> maxXmaxY(xOffset = xOffset, yOffset = yOffset) | |
flipped -> minXmaxY(xOffset = xOffset, yOffset = yOffset) | |
} | |
flipped -> when (x) { | |
euclidean -> maxXminY(xOffset = xOffset, yOffset = yOffset) | |
flipped -> minXminY(xOffset = xOffset, yOffset = yOffset) | |
} | |
} | |
@JvmStatic | |
fun bottomLeft(y: AxisOrientation = euclidean, | |
x: AxisOrientation = euclidean, | |
xOffset: Fraction = 0.0, | |
yOffset: Fraction = 0.0 | |
): UIAnchor = when (y) { | |
euclidean -> when (x) { | |
euclidean -> minXminY(xOffset = xOffset, yOffset = yOffset) | |
flipped -> maxXminY(xOffset = xOffset, yOffset = yOffset) | |
} | |
flipped -> when (x) { | |
euclidean -> minXmaxY(xOffset = xOffset, yOffset = yOffset) | |
flipped -> maxXmaxY(xOffset = xOffset, yOffset = yOffset) | |
} | |
} | |
@JvmStatic | |
fun bottomRight(y: AxisOrientation = euclidean, | |
x: AxisOrientation = euclidean, | |
xOffset: Fraction = 0.0, | |
yOffset: Fraction = 0.0 | |
): UIAnchor = when (y) { | |
euclidean -> when (x) { | |
euclidean -> maxXminY(xOffset = xOffset, yOffset = yOffset) | |
flipped -> minXminY(xOffset = xOffset, yOffset = yOffset) | |
} | |
flipped -> when (x) { | |
euclidean -> maxXmaxY(xOffset = xOffset, yOffset = yOffset) | |
flipped -> minXmaxY(xOffset = xOffset, yOffset = yOffset) | |
} | |
} | |
/** | |
* The lowest X and Y values; [minXminY] | |
*/ | |
@JvmStatic | |
val origin = minXminY(0.0, 0.0) | |
} | |
} | |
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:123) | |
at org.jetbrains.kotlin.util.slicedMap.Slices.logErrorAboutRewritingNonEqualObjects(Slices.java:157) | |
at org.jetbrains.kotlin.util.slicedMap.Slices.access$000(Slices.java:30) | |
at org.jetbrains.kotlin.util.slicedMap.Slices$1.processRewrite(Slices.java:42) | |
at org.jetbrains.kotlin.util.slicedMap.SlicedMapImpl.put(SlicedMapImpl.java:65) | |
at org.jetbrains.kotlin.resolve.BindingTraceContext.record(BindingTraceContext.java:135) | |
at org.jetbrains.kotlin.storage.LockBasedLazyResolveStorageManager$LockProtectedTrace$record$1.invoke(LockBasedLazyResolveStorageManager.kt:71) | |
at org.jetbrains.kotlin.storage.LockBasedLazyResolveStorageManager$LockProtectedTrace$record$1.invoke(LockBasedLazyResolveStorageManager.kt:59) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager.compute(LockBasedStorageManager.java:231) | |
at org.jetbrains.kotlin.storage.LockBasedLazyResolveStorageManager$LockProtectedTrace.record(LockBasedLazyResolveStorageManager.kt:71) | |
at org.jetbrains.kotlin.resolve.bindingContextUtil.BindingContextUtilsKt.recordScope(BindingContextUtils.kt:76) | |
at org.jetbrains.kotlin.resolve.FunctionDescriptorResolver.createValueParameterDescriptors(FunctionDescriptorResolver.kt:298) | |
at org.jetbrains.kotlin.resolve.FunctionDescriptorResolver.initializeFunctionDescriptorAndExplicitReturnType(FunctionDescriptorResolver.kt:194) | |
at org.jetbrains.kotlin.resolve.FunctionDescriptorResolver.resolveFunctionDescriptor(FunctionDescriptorResolver.kt:127) | |
at org.jetbrains.kotlin.resolve.FunctionDescriptorResolver.resolveFunctionDescriptor(FunctionDescriptorResolver.kt:94) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope.doGetFunctions(AbstractLazyMemberScope.kt:99) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope.access$doGetFunctions(AbstractLazyMemberScope.kt:38) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope$functionDescriptors$1.invoke(AbstractLazyMemberScope.kt:50) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope$functionDescriptors$1.invoke(AbstractLazyMemberScope.kt:38) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$MapBasedMemoizedFunction.invoke(LockBasedStorageManager.java:448) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$MapBasedMemoizedFunctionToNotNull.invoke(LockBasedStorageManager.java:523) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope.getContributedFunctions(AbstractLazyMemberScope.kt:90) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.getContributedFunctions(LazyClassMemberScope.kt:188) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope.computeDescriptorsFromDeclaredElements(AbstractLazyMemberScope.kt:195) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope$descriptorsFromDeclaredElements$1.invoke(LazyClassMemberScope.kt:54) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope$descriptorsFromDeclaredElements$1.invoke(LazyClassMemberScope.kt:46) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:354) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedNotNullLazyValue.invoke(LockBasedStorageManager.java:410) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassMemberScope.getContributedDescriptors(LazyClassMemberScope.kt:68) | |
at org.jetbrains.kotlin.resolve.DescriptorUtils.getAllDescriptors(DescriptorUtils.java:574) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassDescriptor.resolveMemberHeaders(LazyClassDescriptor.java:573) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassDescriptor.doForceResolveAllContents(LazyClassDescriptor.java:543) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassDescriptor.lambda$new$4(LazyClassDescriptor.java:221) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:354) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassDescriptor.forceResolveAllContents(LazyClassDescriptor.java:539) | |
at org.jetbrains.kotlin.resolve.lazy.ForceResolveUtil.doForceResolveAllContents(ForceResolveUtil.java:75) | |
at org.jetbrains.kotlin.resolve.lazy.ForceResolveUtil.forceResolveAllContents(ForceResolveUtil.java:41) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassDescriptor.doForceResolveAllContents(LazyClassDescriptor.java:546) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassDescriptor.lambda$new$4(LazyClassDescriptor.java:221) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:354) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.LazyClassDescriptor.forceResolveAllContents(LazyClassDescriptor.java:539) | |
at org.jetbrains.kotlin.resolve.lazy.ForceResolveUtil.doForceResolveAllContents(ForceResolveUtil.java:75) | |
at org.jetbrains.kotlin.resolve.lazy.ForceResolveUtil.forceResolveAllContents(ForceResolveUtil.java:41) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.IDELightClassContexts.contextForNonLocalClassOrObject(IDELightClassContexts.kt:111) | |
at org.jetbrains.kotlin.idea.caches.resolve.IDELightClassGenerationSupport$createDataHolderForClass$3.invoke(IDELightClassGenerationSupport.kt:49) | |
at org.jetbrains.kotlin.idea.caches.resolve.IDELightClassGenerationSupport$createDataHolderForClass$3.invoke(IDELightClassGenerationSupport.kt:35) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder$exactResultLazyValue$1.invoke(LazyLightClassDataHolder.kt:46) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder$exactResultLazyValue$1.invoke(LazyLightClassDataHolder.kt:32) | |
at kotlin.SafePublicationLazyImpl.getValue(LazyJVM.kt:107) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder.getJavaFileStub(LazyLightClassDataHolder.kt) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder$LazyLightClassData$clsDelegate$2.invoke(LazyLightClassDataHolder.kt:103) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder$LazyLightClassData$clsDelegate$2.invoke(LazyLightClassDataHolder.kt:100) | |
at kotlin.SafePublicationLazyImpl.getValue(LazyJVM.kt:107) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder$LazyLightClassData.getClsDelegate(LazyLightClassDataHolder.kt) | |
at org.jetbrains.kotlin.idea.caches.lightClasses.LazyLightClassDataHolder$LazyLightClassData.getOwnMethods(LazyLightClassDataHolder.kt:121) | |
at org.jetbrains.kotlin.asJava.classes.KtLazyLightClass.getOwnMethods(KtLazyLightClass.kt:29) | |
at com.intellij.psi.impl.source.ClassInnerStuffCache.getAllMethods(ClassInnerStuffCache.java:111) | |
at com.intellij.psi.impl.source.ClassInnerStuffCache.lambda$getMethods$2(ClassInnerStuffCache.java:46) | |
at com.intellij.psi.util.CachedValuesManager.lambda$getCachedValue$0(CachedValuesManager.java:140) | |
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49) | |
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222) | |
at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:60) | |
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38) | |
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:136) | |
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:126) | |
at com.intellij.psi.impl.source.ClassInnerStuffCache.getMethods(ClassInnerStuffCache.java:46) | |
at org.jetbrains.kotlin.asJava.classes.KtLightClassBase.getMethods(KtLightClassBase.kt:38) | |
at org.jetbrains.kotlin.asJava.LightClassUtil$getPsiMethodWrappers$1.invoke(LightClassUtil.kt:131) | |
at org.jetbrains.kotlin.asJava.LightClassUtil$getPsiMethodWrappers$1.invoke(LightClassUtil.kt:33) | |
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:279) | |
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:267) | |
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:133) | |
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:158) | |
at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:133) | |
at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:158) | |
at org.jetbrains.kotlin.asJava.LightClassUtil.extractPropertyAccessors(LightClassUtil.kt:259) | |
at org.jetbrains.kotlin.asJava.LightClassUtil.getLightClassPropertyMethods(LightClassUtil.kt:108) | |
at org.jetbrains.kotlin.idea.search.usagesSearch.SearchHelpersKt.getAccessorNames(searchHelpers.kt:54) | |
at org.jetbrains.kotlin.idea.search.usagesSearch.SearchHelpersKt.getAccessorNames$default(searchHelpers.kt:36) | |
at org.jetbrains.kotlin.idea.inspections.UnusedSymbolInspection.hasNonTrivialUsages(UnusedSymbolInspection.kt:228) | |
at org.jetbrains.kotlin.idea.inspections.UnusedSymbolInspection.access$hasNonTrivialUsages(UnusedSymbolInspection.kt:79) | |
at org.jetbrains.kotlin.idea.inspections.UnusedSymbolInspection$buildVisitor$1.invoke(UnusedSymbolInspection.kt:185) | |
at org.jetbrains.kotlin.idea.inspections.UnusedSymbolInspection$buildVisitor$1.invoke(UnusedSymbolInspection.kt:79) | |
at org.jetbrains.kotlin.psi.VisitorWrappersKt$namedDeclarationVisitor$1.visitNamedDeclaration(VisitorWrappers.kt:386) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitNamedDeclaration(KtVisitorVoid.java:959) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitNamedDeclaration(KtVisitorVoid.java:21) | |
at org.jetbrains.kotlin.psi.KtVisitor.visitParameter(KtVisitor.java:138) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitParameter(KtVisitorVoid.java:125) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitParameter(KtVisitorVoid.java:591) | |
at org.jetbrains.kotlin.psi.KtVisitorVoid.visitParameter(KtVisitorVoid.java:21) | |
at org.jetbrains.kotlin.psi.KtParameter.accept(KtParameter.java:50) | |
at org.jetbrains.kotlin.psi.KtElementImplStub.accept(KtElementImplStub.java:59) | |
at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:75) | |
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:63) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:276) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$3(LocalInspectionsPass.java:244) | |
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:133) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1156) | |
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85) | |
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:116) | |
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:147) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:222) | |
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96) | |
at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) | |
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) | |
at java.util.concurrent.ForkJoinPool$WorkQueue.pollAndExecCC(ForkJoinPool.java:1190) | |
at java.util.concurrent.ForkJoinPool.helpComplete(ForkJoinPool.java:1879) | |
at java.util.concurrent.ForkJoinPool.awaitJoin(ForkJoinPool.java:2045) | |
at java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:390) | |
at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719) | |
at java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2616) | |
at com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:65) | |
at com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:56) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.visitPriorityElementsAndInit(LocalInspectionsPass.java:247) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:218) | |
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:121) | |
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:83) | |
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:69) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:423) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1161) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:416) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:415) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:391) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:147) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:222) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:389) | |
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:161) | |
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) | |
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) | |
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) | |
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.Throwable: Rewrite at slice LEXICAL_SCOPE key: VALUE_PARAMETER_LIST old value: Snapshot(0) for FUNCTION_HEADER@719531343 new value: Snapshot(0) for FUNCTION_HEADER@1877063287 | |
File name: Main.kt Physical: true Injected: false | |
/** | |
* @author Ben Leggiero | |
* @since 2018-12-18 | |
*/ | |
fun main<caret>(args: Array<String>) { | |
jq { | |
jq("body").append("<b>Hello there</b>") | |
} | |
} | |
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:134) | |
at org.jetbrains.kotlin.util.slicedMap.Slices.logErrorAboutRewritingNonEqualObjects(Slices.java:157) | |
at org.jetbrains.kotlin.util.slicedMap.Slices.access$000(Slices.java:30) | |
at org.jetbrains.kotlin.util.slicedMap.Slices$1.processRewrite(Slices.java:42) | |
at org.jetbrains.kotlin.util.slicedMap.SlicedMapImpl.put(SlicedMapImpl.java:65) | |
at org.jetbrains.kotlin.resolve.BindingTraceContext.record(BindingTraceContext.java:135) | |
at org.jetbrains.kotlin.storage.LockBasedLazyResolveStorageManager$LockProtectedTrace$record$1.invoke(LockBasedLazyResolveStorageManager.kt:71) | |
at org.jetbrains.kotlin.storage.LockBasedLazyResolveStorageManager$LockProtectedTrace$record$1.invoke(LockBasedLazyResolveStorageManager.kt:59) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager.compute(LockBasedStorageManager.java:231) | |
at org.jetbrains.kotlin.storage.LockBasedLazyResolveStorageManager$LockProtectedTrace.record(LockBasedLazyResolveStorageManager.kt:71) | |
at org.jetbrains.kotlin.resolve.bindingContextUtil.BindingContextUtilsKt.recordScope(BindingContextUtils.kt:76) | |
at org.jetbrains.kotlin.resolve.FunctionDescriptorResolver.createValueParameterDescriptors(FunctionDescriptorResolver.kt:298) | |
at org.jetbrains.kotlin.resolve.FunctionDescriptorResolver.initializeFunctionDescriptorAndExplicitReturnType(FunctionDescriptorResolver.kt:194) | |
at org.jetbrains.kotlin.resolve.FunctionDescriptorResolver.resolveFunctionDescriptor(FunctionDescriptorResolver.kt:127) | |
at org.jetbrains.kotlin.resolve.FunctionDescriptorResolver.resolveFunctionDescriptor(FunctionDescriptorResolver.kt:94) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope.doGetFunctions(AbstractLazyMemberScope.kt:99) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope.access$doGetFunctions(AbstractLazyMemberScope.kt:38) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope$functionDescriptors$1.invoke(AbstractLazyMemberScope.kt:50) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope$functionDescriptors$1.invoke(AbstractLazyMemberScope.kt:38) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$MapBasedMemoizedFunction.invoke(LockBasedStorageManager.java:448) | |
at org.jetbrains.kotlin.storage.LockBasedStorageManager$MapBasedMemoizedFunctionToNotNull.invoke(LockBasedStorageManager.java:523) | |
at org.jetbrains.kotlin.resolve.lazy.descriptors.AbstractLazyMemberScope.getContributedFunctions(AbstractLazyMemberScope.kt:90) | |
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver$resolveToDescriptor$1.visitNamedFunction(LazyDeclarationResolver.kt:125) | |
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver$resolveToDescriptor$1.visitNamedFunction(LazyDeclarationResolver.kt:94) | |
at org.jetbrains.kotlin.psi.KtNamedFunction.accept(KtNamedFunction.java:49) | |
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.resolveToDescriptor(LazyDeclarationResolver.kt:94) | |
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.resolveToDescriptor(LazyDeclarationResolver.kt:91) | |
at org.jetbrains.kotlin.resolve.lazy.ResolveSession.resolveToDescriptor(ResolveSession.java:330) | |
at org.jetbrains.kotlin.idea.project.ResolveElementCache.resolveToElements(ResolveElementCache.kt:234) | |
at org.jetbrains.kotlin.idea.caches.resolve.ModuleResolutionFacadeImpl.analyze(ModuleResolutionFacadeImpl.kt:59) | |
at org.jetbrains.kotlin.idea.caches.resolve.ModuleResolutionFacadeImpl.analyze(ModuleResolutionFacadeImpl.kt:53) | |
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionFacadeWithDebugInfo.analyze(ResolutionFacadeWithDebugInfo.kt:38) | |
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionUtils.analyze(resolutionApi.kt:112) | |
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionUtils.resolveToDescriptorIfAny(resolutionApi.kt:62) | |
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionUtils.resolveToDescriptorIfAny(resolutionApi.kt:75) | |
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionUtils.resolveToDescriptorIfAny$default(resolutionApi.kt:74) | |
at org.jetbrains.kotlin.idea.MainDetectorUtilKt$isMainFunction$mainFunctionDetector$1.invoke(mainDetectorUtil.kt:16) | |
at org.jetbrains.kotlin.idea.MainDetectorUtilKt$isMainFunction$mainFunctionDetector$1.invoke(mainDetectorUtil.kt) | |
at org.jetbrains.kotlin.idea.MainFunctionDetector.isMain(MainFunctionDetector.kt:87) | |
at org.jetbrains.kotlin.idea.MainFunctionDetector.isMain$default(MainFunctionDetector.kt:60) | |
at org.jetbrains.kotlin.idea.MainDetectorUtilKt.isMainFunction(mainDetectorUtil.kt:20) | |
at org.jetbrains.kotlin.idea.MainDetectorUtilKt.isMainFunction$default(mainDetectorUtil.kt:14) | |
at org.jetbrains.kotlin.idea.highlighter.KotlinRunLineMarkerContributor.getInfo(KotlinRunLineMarkerContributor.kt:35) | |
at com.intellij.execution.lineMarker.RunLineMarkerProvider.getLineMarkerInfo(RunLineMarkerProvider.java:46) | |
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.queryProviders(LineMarkersPass.java:171) | |
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.lambda$doCollectInformation$3(LineMarkersPass.java:96) | |
at com.intellij.codeInsight.daemon.impl.Divider.divideInsideAndOutsideInOneRoot(Divider.java:79) | |
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectInformation(LineMarkersPass.java:91) | |
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:69) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:423) | |
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1168) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:416) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582) | |
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532) | |
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:415) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:391) | |
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:147) | |
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:222) | |
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:389) | |
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:161) | |
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) | |
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) | |
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) | |
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment