Tamas Vajk
|
394ec56d9d
|
Add test case for local class declaration in field initializer
|
2022-05-12 22:37:06 +01:00 |
|
Tamas Vajk
|
49bf53da5d
|
Make extracted file class public and final
|
2022-05-10 19:51:25 +01:00 |
|
Tony Torralba
|
f8ad93a530
|
Add test case for local variable in anonymous init
Also fix another instance of the same issue in extractLocalTypeDeclStmt
|
2022-05-10 19:51:25 +01:00 |
|
Chris Smowton
|
96908d153d
|
Accept and amend check for anonymous types with type parameters
|
2022-05-10 19:51:24 +01:00 |
|
Chris Smowton
|
c0f3988aaa
|
Tolerate nullable references to anonymous classes
This also adds a test case illustrating when this can arise
|
2022-05-10 19:51:24 +01:00 |
|
Tamas Vajk
|
2d0bb43efe
|
Do not extract local function containers as anonymous classes
|
2022-05-10 19:51:22 +01:00 |
|
Tamas Vajk
|
b6e5e1977d
|
Extract more visibility modifiers
|
2022-05-10 19:51:13 +01:00 |
|
Ian Lynagh
|
368c330ecf
|
Kotlin: Accept test changes following file-class fixes
|
2022-05-10 19:51:12 +01:00 |
|
Tamas Vajk
|
afd71a00d0
|
Fix extraction of function references without dispatch receiver
|
2022-05-10 19:51:12 +01:00 |
|
Tamas Vajk
|
ef2795c88b
|
Add ktLocalFunction relation and tests for local and anonymous classes
|
2022-05-10 19:51:11 +01:00 |
|
Tamas Vajk
|
e0bf7d8246
|
Extract local class declarations
|
2022-05-10 19:51:11 +01:00 |
|
Ian Lynagh
|
5342b13cb6
|
Kotlin: Add class modifiers
|
2022-05-10 19:51:11 +01:00 |
|
Ian Lynagh
|
c05aa7bb68
|
Kotlin: Add superChain test
|
2022-05-10 19:51:06 +01:00 |
|
Tamas Vajk
|
b7faa33c60
|
Fix constructor call type access
|
2022-05-10 19:51:05 +01:00 |
|
Tamas Vajk
|
b7e0828f78
|
Extract anonymous object creation
|
2022-05-10 19:51:05 +01:00 |
|
Ian Lynagh
|
81fd7c735a
|
Kotlin: Add suport for enum classes
|
2022-05-10 19:50:59 +01:00 |
|
Chris Smowton
|
070c0a03f4
|
Add .fromSource() qualifier to tests
|
2022-05-10 19:50:58 +01:00 |
|
Chris Smowton
|
124dcb0e5f
|
Update test expectations
|
2022-05-10 19:50:58 +01:00 |
|
Ian Lynagh
|
14a10564f3
|
Kotlin: Fix File locations, and fromSource/hasSourceLocation for Kotlin code
|
2022-05-10 18:46:01 +01:00 |
|
Ian Lynagh
|
45cade8ff8
|
Kotlin: Accept/update tests
|
2022-05-10 18:46:01 +01:00 |
|
Tamas Vajk
|
76fd386055
|
Extract content of <obinit> methods
|
2022-05-10 18:46:00 +01:00 |
|
Tamas Vajk
|
13048392af
|
Add constructor tests
|
2022-05-10 18:46:00 +01:00 |
|
Ian Lynagh
|
90eccc634b
|
Kotlin: Refactor locations
Amongst other tidyups, we now generate correct "unknown location"s
|
2022-05-10 18:45:56 +01:00 |
|
Ian Lynagh
|
486cff5df1
|
Kotlin: Add support for interfaces
|
2022-05-10 18:45:55 +01:00 |
|
Ian Lynagh
|
a40ebd2520
|
Kotlin: Add support for supertypes
|
2022-05-10 18:45:55 +01:00 |
|
Ian Lynagh
|
d10024e7e9
|
Kotlin: Don't make a *Kt class unless we need one
|
2022-05-10 18:45:54 +01:00 |
|
Ian Lynagh
|
f0e2de1fa9
|
Kotlin: Add file classes
Kotlin invents a class for each file that has a top-level
functionp/property, so that Java can use them.
|
2022-05-10 18:45:54 +01:00 |
|
Ian Lynagh
|
f5e2826b9f
|
Kotlin: Accept test changes
|
2022-05-10 18:45:53 +01:00 |
|
Ian Lynagh
|
00cff5593f
|
Kotlin: Fix the tests
The handling of Unit is very kludgy at the moment. Will need rethinking.
|
2022-05-10 18:45:52 +01:00 |
|
Ian Lynagh
|
4721ccd965
|
Kotlin: Add tests
|
2022-05-10 18:45:51 +01:00 |
|