Commit Graph

28922 Commits

Author SHA1 Message Date
Jinseong Jeon ff104f4037 [FIR2IR] Set proper visibility of backing fields 2020-03-31 13:12:36 +03:00
Pavel Kirpichenkov 0abe3a6c39 [NI] Report not-a-class LHS error for callable reference arguments
^KT-37531 Fixed
2020-03-31 12:04:01 +03:00
Pavel Kirpichenkov a416fde814 [NI] Move abstract class instantiation check to call checkers
This way the check works for callable reference arguments.
Also candidate applicability during resolution does not change compared to the old inference.
^KT-37530 Fixed
2020-03-31 12:04:01 +03:00
Dmitry Petrov 4ade669b9b Minor: unmute 2 tests fixed in FIR 2020-03-30 21:10:59 +03:00
anastasiia.spaseeva 0397470b85 [Spec tests] Update tests with spec version 0.1-313 2020-03-30 19:12:55 +03:00
Pavel Punegov d0e28d7c8d Ignore Java-sepcific test in Native 2020-03-30 18:31:50 +03:00
Nikolay Krasko 02b651ef28 201: Update to 201.6668.13 2020-03-30 18:09:30 +03:00
Nikolay Krasko 46174a8c32 201: Apply workaround for IDEA execution in daemon main 2020-03-30 18:09:29 +03:00
Nikolay Krasko 148cbe87f4 201: Use idea.plugins.compatible.build to avoid problems with build number 2020-03-30 18:09:29 +03:00
Nikolay Krasko a8c3e4aa6f 201: Add additional registry key 2020-03-30 18:09:29 +03:00
Georgy Bronnikov 5fe28b3179 IR: explicitly pass isFakeOverride to buildFun and friends 2020-03-30 17:32:02 +03:00
Georgy Bronnikov fb6956f842 IR common: use .isFakeOverride instead of checking origin 2020-03-30 17:32:02 +03:00
Georgy Bronnikov 2784e30fd4 JVM_IR: use .isFakeOverride instead of testing origin 2020-03-30 17:32:02 +03:00
Roman Artemev 0480f2d170 [JS IR] Fix usages of 'IrDeclarationOrigin.FAKE_OVERRIDE' 2020-03-30 17:32:02 +03:00
Roman Artemev e4ad6698fb [IR] Fix fake override checkers 2020-03-30 17:32:02 +03:00
Dmitry Petrov cec64a2ec7 KT-37861 'this' is uninitialized in constructor default parameters 2020-03-30 17:23:15 +03:00
Jinseong Jeon 078cf02c8a FIR: Provide dispatch receiver for 'field' according to property type 2020-03-30 16:57:53 +03:00
Mikhail Glukhikh a0978a50e8 [FIR2IR] Correct 'this' conversion when it points to non-closest class 2020-03-30 16:57:52 +03:00
Jinseong Jeon 4388b30f87 [FIR] Fix anonymous object handling as 'this' receiver 2020-03-30 16:57:52 +03:00
Victor Petukhov c8206c4666 [Spec tests] Fix mistakes during parsing compiler tests to extract spec links 2020-03-30 16:40:57 +03:00
Mikhail Glukhikh d1fc6ff6ee [FIR2IR] Don't provide backing field symbols for non-Java property refs 2020-03-30 16:23:11 +03:00
Mikhail Glukhikh d4ae992417 [FIR] Apply type arguments for callable references 2020-03-30 16:23:11 +03:00
Mikhail Glukhikh 8fbc6e37e5 [FIR2IR] Rename: CallGenerator -> CallAndReferenceGenerator 2020-03-30 16:23:11 +03:00
Mikhail Glukhikh 810b607a65 [FIR2IR] Provide receivers also for property callable references 2020-03-30 16:23:10 +03:00
Mikhail Glukhikh 697006d782 [FIR2IR] Re-use receiver application logic in callable ref conversion 2020-03-30 16:23:10 +03:00
Mikhail Glukhikh 1b1902f6ee [FIR2IR] Move callable reference conversion to CallGenerator 2020-03-30 16:23:10 +03:00
Juan Chen d8539fdde9 [FIR2IR] Add dispatch & extension receivers to callable references 2020-03-30 16:23:10 +03:00
Igor Yakovlev 43468c6d55 Filter enum synthetic methods for stub based classes
Fixed #KT-36095
2020-03-30 13:46:08 +03:00
Victor Petukhov d6d19b563d [Spec tests] Exclude spec consistency test from common test task 2020-03-30 11:15:55 +03:00
Victor Petukhov 218c13efc5 [FIR] Remove links to spec sentences during comparison fir and old front-end test data 2020-03-30 11:15: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
anastasiia.spaseeva f7ff60cb77 [Spec tests] Add DEBUG_INFO_AS_CALL diagnostic tag for callable references 2020-03-30 11:15:53 +03:00
anastasiia.spaseeva 008a0df28f [Spec tests] DEBUG_INFO_LEAKING_THIS diagnostics type is changed from error to  info 2020-03-30 11:15:53 +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 5f4a94a1b3 [Spec tests] Enable running spec tests at all for remote run 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