Denis Zharkov
54546eb890
FIR: Adjust testData for spec tests: unsupported DEBUG_INFO_CALL format
2020-04-21 09:52:52 +03:00
Denis Zharkov
f8791549f3
FIR: Adjust testData for spec tests: enum "values" priority
...
^KT-38350 Submitted
2020-04-21 09:52:52 +03:00
Denis Zharkov
2ced716268
FIR: Adjust testData for spec tests: controversial infix calls
...
^KT-37374 Please, take a look at these tests
2020-04-21 09:52:52 +03:00
Denis Zharkov
12ceaf24e2
FIR: Adjust testData for spec tests: resolution ambiguity
...
Renaming AMBIGUITY -> OVERLOAD_RESOLUTION_AMBIGUITY may help
^KT-38342 Submitted
2020-04-21 09:52:52 +03:00
Denis Zharkov
76bb45b46f
FIR: Adjust testData for spec tests: other small things
2020-04-21 09:52:52 +03:00
Denis Zharkov
7c8e2724e1
FIR: Adjust testData for spec tests: type-system
2020-04-21 09:52:52 +03:00
Denis Zharkov
2f0f552880
FIR: Adjust testData for spec tests: annotations
2020-04-21 09:52:52 +03:00
Denis Zharkov
798fe9b7d1
FIR: Adjust testData for spec tests: statements
2020-04-21 09:52:52 +03:00
Denis Zharkov
0df6354896
FIR: Adjust testData for spec tests: conditional-expressions
2020-04-21 09:52:52 +03:00
Denis Zharkov
00bf1858cc
FIR: Adjust testData for spec tests: declarations
2020-04-21 09:52:52 +03:00
Denis Zharkov
ee75347bb0
FIR: Adjust testData for spec tests: expressions
2020-04-21 09:52:52 +03:00
Denis Zharkov
06bae1e52f
FIR: Adjust testData for spec tests: when-expression
2020-04-21 09:52:52 +03:00
Denis Zharkov
0d34299b7a
FIR: Adjust testData for spec tests: dfa
2020-04-21 09:52:52 +03:00
Denis Zharkov
86e1aadd31
FIR: Adjust testData for spec tests: contracts
2020-04-21 09:52:52 +03:00
Denis Zharkov
243f9bb758
FIR: Adjust testData for spec tests: constant-literals
2020-04-21 09:52:52 +03:00
Denis Zharkov
3cb2b0cab1
Ignore irrelevant diagnostics in overload-set related spec tests
2020-04-21 09:52:52 +03:00
Denis Zharkov
0aed7375e6
Ignore irrelevant diagnostics in overload-set related spec tests
2020-04-21 09:52:52 +03:00
Denis Zharkov
1d891561cf
Fix spec tests metadata
...
It has been working fine on OS X with its case-independent FS
2020-04-21 09:52:52 +03:00
anastasiia.spaseeva
b1dbacf45f
[Spec tests] Fix test-info parser for relevant places
2020-04-01 16:30:24 +03:00
anastasiia.spaseeva
9f684bfd65
[Spec tests] Add tests for call-with-specified-type-parameters
2020-04-01 16:30:23 +03:00
anastasiia.spaseeva
0397470b85
[Spec tests] Update tests with spec version 0.1-313
2020-03-30 19:12:55 +03:00
Victor Petukhov
a29385e758
[Spec tests] Small clean-up CheckerTestUtil and around it
2020-03-30 11:15:55 +03:00
anastasiia.spaseeva
90d1cdf2e1
[Spec tests] Add tests for section call-with-trailing-lambda-expressions
2020-03-30 11:15:55 +03:00
anastasiia.spaseeva
4736b3b348
[Spec tests] Add tests for call-with-named-parameters
2020-03-30 11:15:55 +03:00
anastasiia.spaseeva
bb1ee952ba
[Spec tests] Add tests for call-without-an-explicit-receiver, receivers
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
35de6a3f6e
[Spec tests] Add tests for overload-resolution, building-the-overload-candidate-set-ocs, operator-call:
...
-properties available through the invoke convention are non-eligible for operator calls
-smart casts and overload-resolution
-candidate sets
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
4301744d2d
[Spec tests] Add test for infix fun + KT-36786
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
c9bb994fb5
[Spec tests] Add tests to check overload resolution for implicitly imported infix functions
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
9711fda353
[Spec tests] Add tests for property-like callables prioritization
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
157e33d08b
[Spec tests] Add tests for receivers prioritization
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
3b35374186
[Spec tests] Add diagnostics tests for building-the-overload-candidate-set-ocs, call-with-an-explicit-receiver
2020-03-30 11:15:54 +03:00
anastasiia.spaseeva
81b6e5a373
[Spec tests] Add box tests for callables-and-invoke-convention to check priority
2020-03-30 11:15:54 +03:00
Victor Petukhov
f76faaf1b0
[Spec tests] Unify platform dependent part of fixed exception
2020-03-30 11:15:53 +03:00
anastasiia.spaseeva
5986ffae1e
[Spec tests] Add tests for expressions and statements
2020-03-30 11:15:53 +03:00
anastasiia.spaseeva
509036b08b
[Spec tests] Update spec tests metadata
2020-03-30 11:15:53 +03:00
anastasiia.spaseeva
8b307c0a2a
[Spec tests] KT-35494 test update
2020-03-30 11:15:53 +03:00
anastasiia.spaseeva
1caafdc9d4
[Spec tests] Updating tests for kotlin 1.4.0
2020-03-30 11:15:53 +03:00
Victor Petukhov
ab3b63c92a
[Spec tests] Apply changes in parse trees due to trailing comma introducing
2020-03-30 11:15:52 +03:00
victor.petukhov
f62901d7d9
[Spec tests] Actualize spec tests
2020-03-30 11:15:52 +03:00
victor.petukhov
2dbce2cc41
[Spec tests] Link diagnostic tests for when expression with Kotlin specification
2020-03-30 11:15:52 +03:00
Mikhail Zarechenskiy
191fb02bf6
[NI] Consider intersection type with number type as Nothing
...
Currently, only for "in": In<in Int & A> == In<in Nothing> == In<*>
#KT-37302 Fixed
2020-03-23 16:39:21 +03:00
Mikhail Zarechenskiy
83824d0ba6
[NI] Don't stop on a candidate with unstable smartcast error
...
#KT-36847 Fixed
2020-02-20 12:34:34 +03:00
Victor Petukhov
51edf2b351
NI: introduce warning about implicitly inferred Nothing with existing non-Nothing expected type
...
^KT-35406 Fixed
2020-02-17 19:43:05 +03:00
Pavel Kirpichenkov
b161839092
[NI] Report unsafe implicit invoke accordingly to OI
...
This reverts commit df046683cc .
KT-30695
2020-02-14 18:06:34 +03:00
Ilya Chernikov
6356807997
Reapply "Only create descriptors for candidates with lambda args"
...
#KT-36247 fixed
A lot of testdata changed because significanly less (error) descriptors
are created for unresolved types, so diagnostics became different.
2020-02-14 11:41:30 +01:00
Pavel Kirpichenkov
e40ba73950
[NI] Add resolution applicability for resolved candidates with error
...
New resolution applicability is needed in cases when error is found,
but candidate still should be selected. Currently there are two cases,
when this behaviour is required:
- unstable smartcast (choose candidate with non-nullable parameter)
- unknown lambda parameter type (against non-functional expected type)
KT-36264
2020-02-13 18:02:37 +03:00
Pavel Kirpichenkov
df046683cc
Revert "[NI] Report unsafe implicit invoke accordingly to OI"
...
This reverts commit b045adf83a .
2020-02-13 16:06:40 +03:00
Mikhail Zarechenskiy
ee48580e06
[NI] Update test data
2020-02-13 15:01:39 +03:00
Pavel Kirpichenkov
b045adf83a
[NI] Report unsafe implicit invoke accordingly to OI
...
There are several issues with unsafe desugaring for convention calls.
Proper fix is not implemented here (see design proposal KT-30872).
This commit only applies the old logic in the new inference.
^KT-30695 Fixed
2020-02-13 14:49:43 +03:00
Pavel Kirpichenkov
572dee6835
Revert "Only create descriptors for candidates with lambda args"
...
This reverts commits:
349d07ad43
2249c223fe
Revert due to differences in test data with NI enabled
^KT-36247 Open
2020-02-12 20:52:30 +03:00