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
|
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 |
|
Chris Smowton
|
ef9a213ae1
|
Cleanup: use extractTypeAccess wherever possible
|
2022-05-10 19:51:11 +01:00 |
|
Tamas Vajk
|
fa5c3f9159
|
Remove and replace @anonymousclassdeclstmt with @localtypedeclstmt
|
2022-05-10 19:51:10 +01:00 |
|
Tamas Vajk
|
afabe652c1
|
Add anonymous class declaration stmt
|
2022-05-10 19:51:05 +01:00 |
|
Tamas Vajk
|
2dfe50cbaa
|
Change constructor and type name of anonymous classes to empty string
|
2022-05-10 19:51:05 +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 |
|