Kotlin: Accept test changes following file-class fixes

This commit is contained in:
Ian Lynagh
2022-01-13 11:35:49 +00:00
parent 194e9fd2da
commit 368c330ecf
7 changed files with 4 additions and 22 deletions

View File

@@ -435,8 +435,7 @@ classes.kt:
# 127| -3: [TypeAccess] Object
local_anonymous.kt:
# 0| [CompilationUnit] local_anonymous
# 0| 1: [Class] Local_anonymousKt
# 3| 2: [Class] Class1
# 3| 1: [Class] Class1
# 3| 1: [Constructor] Class1
# 3| 5: [BlockStmt] { ... }
# 3| 0: [SuperConstructorInvocationStmt] super(...)
@@ -541,8 +540,7 @@ local_anonymous.kt:
# 26| -3: [TypeAccess] LocalClass
superChain.kt:
# 0| [CompilationUnit] superChain
# 0| 1: [Class] SuperChainKt
# 1| 2: [Class,GenericType,ParameterizedType] SuperChain1
# 1| 1: [Class,GenericType,ParameterizedType] SuperChain1
#-----| -2: (Generic Parameters)
# 1| 0: [TypeVariable] T1
# 1| 1: [TypeVariable] T2
@@ -551,7 +549,7 @@ superChain.kt:
# 1| 0: [SuperConstructorInvocationStmt] super(...)
# 1| 1: [ExprStmt] <Expr>;
# 1| 0: [MethodAccess] <obinit>(...)
# 2| 5: [Class,GenericType,ParameterizedType] SuperChain2
# 2| 4: [Class,GenericType,ParameterizedType] SuperChain2
#-----| -2: (Generic Parameters)
# 2| 0: [TypeVariable] T3
# 2| 1: [TypeVariable] T4
@@ -560,7 +558,7 @@ superChain.kt:
# 2| 0: [SuperConstructorInvocationStmt] super(...)
# 2| 1: [ExprStmt] <Expr>;
# 2| 0: [MethodAccess] <obinit>(...)
# 3| 7: [Class,GenericType,ParameterizedType] SuperChain3
# 3| 6: [Class,GenericType,ParameterizedType] SuperChain3
#-----| -2: (Generic Parameters)
# 3| 0: [TypeVariable] T5
# 3| 1: [TypeVariable] T6

View File

@@ -34,7 +34,6 @@
| classes.kt:119:13:121:13 | Local2 | C1$Local2 | final |
| classes.kt:127:16:134:9 | new Object(...) { ... } | <anonymous class> | final |
| classes.kt:129:17:131:17 | Local3 | C1$$Local3 | final |
| local_anonymous.kt:0:0:0:0 | Local_anonymousKt | LocalAnonymous.Local_anonymousKt | |
| local_anonymous.kt:3:1:28:1 | Class1 | LocalAnonymous.Class1 | final, public |
| local_anonymous.kt:5:16:7:9 | new Object(...) { ... } | <anonymous class> | final |
| local_anonymous.kt:11:9:11:24 | new Object(...) { ... } | <anonymous class> | final, public, static |
@@ -42,7 +41,6 @@
| local_anonymous.kt:17:23:17:49 | new Function2<Integer,Integer,Integer>(...) { ... } | <anonymous class> | final, public, static |
| local_anonymous.kt:21:21:21:31 | new Function1<Class1,Unit>(...) { ... } | <anonymous class> | final, public, static |
| local_anonymous.kt:25:9:25:27 | LocalClass | LocalAnonymous.Class1$LocalClass | final |
| superChain.kt:0:0:0:0 | SuperChainKt | SuperChainKt | |
| superChain.kt:1:1:1:33 | SuperChain1 | SuperChain1 | public |
| superChain.kt:2:1:2:60 | SuperChain2 | SuperChain2 | public |
| superChain.kt:3:1:3:60 | SuperChain3 | SuperChain3 | public |

View File

@@ -11,15 +11,6 @@
| Test.java:11:7:11:17 | NeitherUsed | Test.java:11:7:11:17 | NeitherUsed |
| Test.java:13:7:13:10 | User | Test.java:13:7:13:10 | User |
| Test.java:13:7:13:10 | User | Test.java:15:22:15:25 | test |
| Test.kt:0:0:0:0 | TestKt | Test.kt:1:1:8:1 | <obinit> |
| Test.kt:0:0:0:0 | TestKt | Test.kt:1:1:8:1 | TestKt |
| Test.kt:0:0:0:0 | TestKt | Test.kt:3:3:3:22 | field |
| Test.kt:0:0:0:0 | TestKt | Test.kt:3:3:3:22 | getField |
| Test.kt:0:0:0:0 | TestKt | Test.kt:3:3:3:22 | setField |
| Test.kt:0:0:0:0 | TestKt | Test.kt:4:3:5:25 | rawField |
| Test.kt:0:0:0:0 | TestKt | Test.kt:5:3:5:25 | getRawField |
| Test.kt:0:0:0:0 | TestKt | Test.kt:5:3:5:25 | setRawField |
| Test.kt:0:0:0:0 | TestKt | Test.kt:6:3:6:22 | method |
| Test.kt:1:1:8:1 | TestKt | Test.kt:1:1:8:1 | <obinit> |
| Test.kt:1:1:8:1 | TestKt | Test.kt:1:1:8:1 | TestKt |
| Test.kt:1:1:8:1 | TestKt | Test.kt:3:3:3:22 | field |

View File

@@ -1,4 +1,3 @@
| TestClassA.kt:0:0:0:0 | TestClassAKt |
| TestClassA.kt:2:1:3:1 | TestClassA |
| TestClassA.kt:2:1:3:1 | TestClassA<TestClassAUser> |
| TestClassAUser.kt:0:0:0:0 | TestClassAUserKt |

View File

@@ -1,6 +1,4 @@
| file1.kt:0:0:0:0 | File1Kt | File1Kt |
| file1.kt:2:1:13:1 | Class1 | Class1 |
| file2.kt:0:0:0:0 | File2Kt | File2Kt |
| file2.kt:2:1:4:1 | Class2 | Class2 |
| file3.kt:0:0:0:0 | MyJvmName | MyJvmName |
| file3.kt:3:1:3:16 | Class3 | Class3 |

View File

@@ -1,5 +1,4 @@
| Trivial.kt:0:0:0:0 | Trivial | CompilationUnit |
| Trivial.kt:0:0:0:0 | TrivialKt | Class |
| Trivial.kt:1:1:1:16 | <Expr>; | ExprStmt |
| Trivial.kt:1:1:1:16 | <obinit> | Method |
| Trivial.kt:1:1:1:16 | <obinit>(...) | MethodAccess |

View File

@@ -1862,7 +1862,6 @@
| TypeVariable[] | Array |
| Type[] | Array |
| TypesAndInvokers | Class |
| TypesKt | Class |
| U | TypeVariable |
| URI | Class |
| URL | Class |