Simon Ogorodnik
bf2e17b133
[FIR] Extract invoke processing from TowerLevelHandler
2020-08-28 00:12:17 +03:00
Nick
61e21dadec
[FIR] Add 3 type mismatch diagnostics
2020-08-24 11:06:12 +03:00
Denis Zharkov
5ede37d6ab
Report warnings on safe call + nullable extension operator
...
^KT-41034 In Progress
2020-08-14 11:12:34 +03:00
Nick
4669e019d1
[FIR] Add diagnostic CONFLICTING_OVERLOADS & REDECLARATION
2020-08-10 10:09:37 +03:00
Jinseong Jeon
0e54f98b79
FIR: support adapted callable reference with vararg
2020-08-03 16:37:36 +03:00
Mikhail Glukhikh
dc46d51d9a
[FIR TEST] Update diagnostic spec test data
2020-08-02 18:19:47 +03:00
Dmitriy Novozhilov
f283f2db43
[FIR] Improve diagnostic reporting & don't use error symbol for candidate if possible
...
Also introduce few new diagnostics:
- NONE_APPLICABLE more many inapplicable candidates
- HIDDEN for visible candidates
2020-07-28 20:46:56 +03:00
anastasiia.spaseeva
5c0528b61e
[Spec tests] Add tests for primary constructors declaration
2020-07-28 20:26:33 +03:00
anastasiia.spaseeva
0488dc985f
[Spec tests] Add tests for intersection and OR
2020-07-28 20:26:32 +03:00
anastasiia.spaseeva
46774fb6d6
[Spec tests] Add call without an explicit receiver tests for top-level non-extension functions
2020-07-28 20:26:32 +03:00
anastasiia.spaseeva
bef59055cd
[Spec tests] Fix test cases structure
2020-07-28 20:26:31 +03:00
anastasiia.spaseeva
4ad3847224
[Spec tests] Add tests for subtyping rules for simple classifier type
2020-07-28 20:26:30 +03:00
anastasiia.spaseeva
1801344c76
[Spec tests] Add tests for inner-and-nested-type-contexts section
2020-07-28 20:26:29 +03:00
anastasiia.spaseeva
d5ddb26180
[Spec tests] Add overload resolution tests for plus assign operator call
2020-07-28 20:26:28 +03:00
anastasiia.spaseeva
1d83c59e80
[Spec tests] Actualize test for callable reference section
2020-07-28 20:26:27 +03:00
anastasiia.spaseeva
4db209648d
[Spec tests] Update spec version
2020-07-28 20:26:26 +03:00
anastasiia.spaseeva
3f862830f2
[Spec tests] Add tests for resolving callable references and some co-tests
2020-07-28 20:26:24 +03:00
anastasiia.spaseeva
cfbfec77a5
[Spec tests] Add tests for Algorithm of MSC selection
2020-07-28 20:26:23 +03:00
anastasiia.spaseeva
26ac87d9be
[Spec tests] Update spec testData
2020-07-28 20:26:21 +03:00
Ivan Kylchik
3c01a39846
[FIR] Update test data after introducing new fir nodes
2020-07-21 13:54:17 +03:00
Mikhail Zarechenskiy
100a6f70ca
Relax rules about inferring to Nothing for special calls
...
#KT-37388 Fixed
#KT-38427 Fixed
#KT-39953 Fixed
#KT-38899 Fixed
2020-07-16 09:56:46 +03:00
Ivan Kylchik
307871a050
[FIR] Unmute fir spec tests
...
#KT-38397 Fixed
#KT-38334 Fixed
2020-07-09 23:49:39 +03:00
Ivan Kylchik
92a51b9794
[FIR] Add illegal underscore check in BaseFirBuilder
2020-07-03 12:06:49 +03:00
Ivan Kylchik
d0f6997e6d
[FIR] Fix some of fir spec tests for real-literals
...
#KT-38336 Fixed
2020-07-03 12:06:44 +03:00
Dmitriy Novozhilov
26458875d5
[FIR] Add checker for uninitialized properties
2020-06-19 15:53:09 +03:00
anastasiia.spaseeva
9d862aaa1d
[Spec tests] Remove spec info from fir tests
2020-05-26 17:27:06 +03:00
Victor Petukhov
379c6944a2
NI: extract diagnostics from partially resolved call instead of separately handling it including running all checks
...
^KT-37630 Fixed
^KT-35494 Fixed
2020-05-22 22:13:53 +03:00
anastasiia.spaseeva
c736a1e5b0
[Spec tests] Update testsMap for when-expression section
2020-05-22 02:52:02 +03:00
anastasiia.spaseeva
d9160a26e9
[Spec tests] Add property helpers to testMaps
2020-05-22 02:52:02 +03:00
anastasiia.spaseeva
270972ca1c
[Spec tests] Make main link nullable for case if implementation tests don't have this one
2020-05-22 02:52:00 +03:00
anastasiia.spaseeva
3a46b5a45a
[Spec tests] Add path element at testMaps for main links also
2020-05-22 02:52:00 +03:00
anastasiia.spaseeva
d94c212a60
[Spec tests] Add linkType element to testMaps
2020-05-22 02:51:59 +03:00
anastasiia.spaseeva
3a31150df4
[Spec tests] Metadata refactoring: remove duplicated links in testMaps
2020-05-22 02:51:58 +03:00
anastasiia.spaseeva
d32aca87d1
[Spec tests] Change metadata structure of implementation and spec tests
2020-05-22 02:51:57 +03:00
Victor Petukhov
260683c20e
NI: Improve postponed arguments analysis
...
Introduce seven stages:
1) Analyze postponed arguments with fixed parameter types
2) Collect parameter types from constraints and lambda parameters' declaration
3) Fix not postponed variables for parameter types of all postponed arguments
4) Create atoms with revised expected types if needed
5) Analyze the first ready postponed argument and rerun stages if it has been analyzed
6) Force fixation remaining type variables: fix if possible or report not enough information
7) Force analysis remaining not analyzed postponed arguments and rerun stages if there are
^KT-37952 Fixed
^KT-32156 Fixed
^KT-37249 Fixed
^KT-37341 Fixed
2020-05-07 11:42:00 +03:00
Denis Zharkov
d66281d11f
FIR: Fix test data for spec test after c4b7ac994b
2020-04-23 11:24:49 +03:00
Denis Zharkov
3bb6aa6f28
Mark as FIR_IDENTICAL passing spec tests
2020-04-21 10:16:42 +03:00
Denis Zharkov
4c4f220fd0
FIR: Ignore failing spec tests
...
^KT-38336 Submitted
2020-04-21 10:16:39 +03:00
Denis Zharkov
c4d72d6906
FIR: Ignore failing spec test
...
^KT-38334 Submitted
2020-04-21 10:16:38 +03:00
Denis Zharkov
26f0b044fc
FIR: Ignore failing spec test
...
^KT-38333 Submitted
2020-04-21 10:16:37 +03:00
Denis Zharkov
39d4231894
FIR: Adjust testData for spec tests: discrepancy in DEBUG_INFO_CALL format
...
In old FE, there are fake overrides rendered, while in FIR there are
real declarations
2020-04-21 10:16:36 +03:00
Denis Zharkov
bddea7d163
FIR: Adjust testData for spec tests: local scopes in overload resolution
...
The behavior of FIR seems to be the correct one
^KT-36475
2020-04-21 10:16:35 +03:00
Denis Zharkov
706ccb2cf9
FIR: Adjust testData for spec tests: invoke on nullable receiver
...
It's a design problem, see related issue
^KT-30415
2020-04-21 10:16:34 +03:00
Denis Zharkov
f0d35a2478
FIR: Adjust testData for spec tests: operator priority
...
^KT-38351 Submitted
2020-04-21 09:52:52 +03:00
Denis Zharkov
5c7c4b4cb6
FIR: Adjust testData for spec tests: infix priority
...
^KT-37374 Please, fix the tests
2020-04-21 09:52:52 +03:00
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
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