Ian Lynagh
|
755bf4d8b3
|
Java/Kotlin: Add 'children' consistency query
|
2022-05-10 19:51:04 +01:00 |
|
Ian Lynagh
|
8f1f137fa1
|
Java/Kotlin: Add UnaryExpr consistency query
|
2022-05-10 19:51:04 +01:00 |
|
Ian Lynagh
|
90365c9c58
|
Java/Kotlin: Add a consistency query for BinaryExpr
|
2022-05-10 19:51:04 +01:00 |
|
Ian Lynagh
|
9e2a3a9da8
|
Java/Kotlin: Add a consistency query for blocks
|
2022-05-10 19:51:04 +01:00 |
|
Chris Smowton
|
8f5bbc7bd8
|
superTypes test: restore location info without full paths
|
2022-05-10 19:51:03 +01:00 |
|
Chris Smowton
|
fcab0474c9
|
Amend call.ql to avoid external source locations and accept changes
|
2022-05-10 19:51:03 +01:00 |
|
Chris Smowton
|
2bcc3d425e
|
Amend a test to avoid external paths and accept changes
|
2022-05-10 19:51:03 +01:00 |
|
Chris Smowton
|
87b04bc22b
|
Add test for expected filenames
|
2022-05-10 19:51:03 +01:00 |
|
Chris Smowton
|
bde4534050
|
Only report locations without a source offset in non-source files
Also adjust tests that would otherwise report types with locations outside the source tree (i.e., for the most part in the standard library)
|
2022-05-10 19:51:03 +01:00 |
|
Tamas Vajk
|
4c5b4b15a9
|
Allow associating comments with fields
|
2022-05-10 19:51:03 +01:00 |
|
Tamas Vajk
|
097d87604f
|
Add test case to cover comments on properties
|
2022-05-10 19:51:03 +01:00 |
|
Tamas Vajk
|
d0c470dbac
|
Add direct field access support
|
2022-05-10 19:51:03 +01:00 |
|
Ian Lynagh
|
b741dea100
|
Kotlin: Accept test changes
|
2022-05-10 19:51:03 +01:00 |
|
Ian Lynagh
|
3a0435b196
|
Kotlin: Towards 'this' qualifiers
This probably handles most cases well enough
|
2022-05-10 19:51:03 +01:00 |
|
Ian Lynagh
|
9158f0192b
|
Kotlin: Enhance 'this' test
|
2022-05-10 19:51:03 +01:00 |
|
Ian Lynagh
|
2320553723
|
Kotlin: Add tests for this
|
2022-05-10 19:51:03 +01:00 |
|
Ian Lynagh
|
45658e5d89
|
Kotlin: Add writeCallableEnclosingExpr calls
|
2022-05-10 19:51:03 +01:00 |
|
Ian Lynagh
|
854a03d696
|
Kotlin: Fix property initialisers
|
2022-05-10 19:51:03 +01:00 |
|
Ian Lynagh
|
aefe5c5c58
|
Kotlin: Accept test changes
|
2022-05-10 19:51:03 +01:00 |
|
Ian Lynagh
|
e6e56238c5
|
Kotlin: Handle properties better
|
2022-05-10 19:51:03 +01:00 |
|
Chris Smowton
|
44bf35e623
|
Add and update tests
|
2022-05-10 19:51:03 +01:00 |
|
Chris Smowton
|
1b7e33b6e3
|
Remove Kotlin element and component type from arrays
Now that these are no longer required, array extraction can extract kt-types consistently with other parameterised classes.
|
2022-05-10 19:51:03 +01:00 |
|
Chris Smowton
|
70294bd26b
|
Array types: distinguish (e.g.) Array<Int> from IntArray
|
2022-05-10 19:51:03 +01:00 |
|
Ian Lynagh
|
0bf60fff53
|
Kotlin: Add a test that was failing dbcheck, and comment out the cause
|
2022-05-10 19:51:02 +01:00 |
|
Ian Lynagh
|
8fc75abc6c
|
Kotlin: Accept test changes
|
2022-05-10 19:51:02 +01:00 |
|
Ian Lynagh
|
e1cfaaaa9a
|
Kotlin: Extract listOf(...)
|
2022-05-10 19:51:02 +01:00 |
|
Chris Smowton
|
3c7fb94002
|
Update test expectations
|
2022-05-10 19:51:02 +01:00 |
|
Chris Smowton
|
239ee588a6
|
Update test expectations
|
2022-05-10 19:51:02 +01:00 |
|
Chris Smowton
|
805b54897e
|
KotlinType: accept non-class-or-interface Java types
|
2022-05-10 19:51:02 +01:00 |
|
Chris Smowton
|
2cc5f3e5b7
|
kt_*_types tables: cite correct Kotlin classid for arrays
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
5cf14e6f39
|
Kotlin: Tweak a comment
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
8853489f04
|
Kotlin: Add a "generted by" field to the diagnostics table
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
be75d30ee0
|
Kotlin: Add support for varargs
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
497263e92d
|
Kotlin: Accept test changes
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
bdaa3ce2b3
|
Kotlin: Add support for companion objects
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
f726e6acf8
|
Kotlin: Fix handling of objects in external dependencies
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
b460c92c61
|
Kotlin: Add modifiers to object INSTANCEs
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
112fac6286
|
Kotlin: We only support non-companion objects for now
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
e5cd32bdfe
|
Kotlin: Get the tests passing again
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
ceb1e57ddd
|
Kotlin: Add support for objects
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
cb1124b5ff
|
Kotlin: Add a test for type aliases
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
87b433142c
|
Kotlin: Add support for Kotlin type aliases
|
2022-05-10 19:51:01 +01:00 |
|
Ian Lynagh
|
2d43e7b2d1
|
Kotlin: Speed up getAPrimaryQlClass
It now gives less useful info, but can be manually investigated if it
fails.
|
2022-05-10 19:51:00 +01:00 |
|
Ian Lynagh
|
59307285e8
|
Kotlin: Speed up the toString consistency query
Using Top.getAQlClass() means we have to evaluate
SummarizedCallableExternal's charpred, and hence summaryElement,
which is slow.
|
2022-05-10 19:51:00 +01:00 |
|
Ian Lynagh
|
9a621479cc
|
Kotlin: accept test changes
|
2022-05-10 19:51:00 +01:00 |
|
Ian Lynagh
|
e61ff60bf8
|
Kotlin: Add KotlinType to ExtensionMethod
|
2022-05-10 19:51:00 +01:00 |
|
Ian Lynagh
|
6cf0b755f0
|
Kotlin: Add KotlinType to localvars
|
2022-05-10 19:51:00 +01:00 |
|
Ian Lynagh
|
06a41b3923
|
Kotlin: Add KotlinTypes to arrays
|
2022-05-10 19:51:00 +01:00 |
|
Ian Lynagh
|
ba56517900
|
Kotlin: Add Variable.getKotlinType()
|
2022-05-10 19:51:00 +01:00 |
|
Ian Lynagh
|
ef22194eed
|
Kotlin: Add KotlinType to params
|
2022-05-10 19:51:00 +01:00 |
|