Dmitry Gridin
18aa9ffce8
expectActualUtil: introduce runCommandOnAllExpectAndActualDeclaration function
2019-10-29 17:26:34 +07:00
Dmitry Gridin
9aa49e61fe
expectActualUtil: add parameter useOnSelf to runOnExpectAndAllActuals
2019-10-29 17:26:34 +07:00
Dmitry Gridin
4285f63bcc
ChangeVisibilityFix: cleanup code
2019-10-29 17:26:34 +07:00
Dmitry Gridin
9c61f42121
ChangeVisibilityModifierIntention: should affect all actual/expect declarations
...
#KT-29737 Fixed
2019-10-29 17:26:34 +07:00
Dmitry Gridin
13e98e712e
RedundantLetInspection: fix false negative for references
...
#KT-34603 Fixed
2019-10-29 17:25:50 +07:00
Dmitry Gridin
5fc70f6cfd
RedundantLetInspection: fix false positive for inner lambda expression
...
#KT-25271 Fixed
2019-10-29 17:25:50 +07:00
Dmitry Gridin
5d16753285
ImportFix: add support for WRONG_NUMBER_OF_TYPE_ARGUMENTS
...
#KT-23834 Fixed
2019-10-29 17:25:17 +07:00
Dmitry Gridin
e14d589279
KotlinInternalInJavaInspection: fix false positive for java test module
...
#KT-17659 Fixed
2019-10-29 17:24:46 +07:00
Dmitry Gridin
865e1bf631
KotlinInternalInJavaInspection: cleanup code
2019-10-29 17:24:46 +07:00
Dmitry Gridin
81f3a98f49
Convert ConvertTwoComparisonsToRangeCheck intention to inspection
...
Relates to #KT-17310
2019-10-29 17:24:21 +07:00
Alexander Udalov
8e4c7ad65d
Merge pull request #2727 from pyos/fix-synthetic-accessors-v101
...
JVM_IR: add accessors for protected members in divergent hierarchies
2019-10-29 11:10:58 +01:00
Dmitriy Novozhilov
3658bee253
[FIR] Fix testdata related to callable references
2019-10-29 13:03:13 +03:00
Dmitriy Novozhilov
0d15ff1ddd
[FIR] Introduce FirSourceElement instead of FirElement as source in fir nodes
2019-10-29 13:03:13 +03:00
Dmitriy Novozhilov
b93357be48
[FIR] Support assignment operators
2019-10-29 13:03:13 +03:00
Dmitriy Novozhilov
6298889358
[FIR] Add forgotten exhaustiveness checking for erroneously resolved when
2019-10-29 13:03:13 +03:00
Dmitriy Novozhilov
7e55960943
[FIR] Support Conditional effects
2019-10-29 13:03:13 +03:00
Dmitriy Novozhilov
57f1eac9a8
[FIR] Support CallsInPlace effects
2019-10-29 13:03:12 +03:00
Dmitriy Novozhilov
fd852ec07d
[FIR] Add deserialization of contracts
2019-10-29 13:03:12 +03:00
Dmitriy Novozhilov
18c3d1c140
[FIR] Add contract description classes to fir
2019-10-29 13:03:12 +03:00
Roman Golyshev
3661dedacf
KT-31762: Fix completion in enum entries constructors
...
- The issue was caused by incorrect parsing of enum entry because of `$` in the `KotlinCompletionContributor::DEFAULT_DUMMY_IDENTIFIER`
- Incorrect parsing caused arguments next to completed one to be recognized as another enum entries
- Change `KotlinCompletionContributor::isInClassHeader` to accept classes without bodies, so identifier without `$` is used inside enum entries constructors
- ^KT-31762 Fixed
2019-10-29 12:35:13 +03:00
Ilya Goncharov
042100ea77
[Gradle, JS] Disable puppeteer downloading Chrome
2019-10-29 12:03:49 +03:00
Mikhael Bogdanov
63b115abb6
Workaround for KT-34656: temporary disable assertion
2019-10-29 09:48:49 +01:00
Mark Punzalan
de333c18fc
JVM_IR: Enable loopVarInterval and forInReversedCollectionIndices
...
bytecode text tests.
2019-10-29 07:43:37 +01:00
Natalia Selezneva
934cbcbbec
Use more abstract class for gradleModuleBuilder
...
In IDEA 201.* another class is in super class list
^KT-34463 Fixed
2019-10-29 09:11:12 +03:00
Vladimir Dolzhenko
46d843643d
Fixed BoxJsTestGenerated.Main due to nullable arguments in main method
2019-10-28 16:42:14 +01:00
Steven Schäfer
2043dd8a10
JVM IR: Respect extension receiver parameter type in AddContinuationLowering
2019-10-28 18:34:06 +03:00
Steven Schäfer
184c83bcb0
JVM IR: Fix type of IrReturn in AddContinuationLowering
2019-10-28 18:34:06 +03:00
Mark Punzalan
b4d2eae12d
Add test data generator for stepped progression box tests.
2019-10-28 15:26:38 +01:00
Mark Punzalan
1738c2d4f6
Invoke GenerateInRangeExpressionTestData and
...
GeneratePrimitiveVsObjectEqualityTestData during
:compiler:generateTests.
2019-10-28 15:26:38 +01:00
Mark Punzalan
3c775c598c
Extract utility function to create temporary variables if necessary.
2019-10-28 15:26:38 +01:00
Mark Punzalan
9bb9ab67a7
Add bytecode text tests for ForLoopsLowering.
2019-10-28 15:26:38 +01:00
Mark Punzalan
277cb39e3b
Add new tests for step progressions and fix existing tests.
2019-10-28 15:26:38 +01:00
Mark Punzalan
27642514b1
Move ForLoopsLowering before JvmStringConcatenationLowering.
...
ForLoopsLowering may produce IrStringConcatenations which should be
eliminated before codegen.
2019-10-28 15:26:38 +01:00
Mark Punzalan
8a4185202f
Handle step progressions in ForLoopsLowering.
2019-10-28 15:26:38 +01:00
Vyacheslav Gerasimov
38f0fd256e
Build: Specify LIBRARY_ELEMENTS_ATTRIBUTE to JAR for configurations with js libraries
2019-10-28 17:21:23 +03:00
Vyacheslav Gerasimov
1a68a772c4
Build: Update gradle to 5.6.2
2019-10-28 17:21:23 +03:00
Denis Zharkov
ea43d2880c
FIR: Update FIR2IR test data changed because of callable references
...
^KT-32725 Fixed
2019-10-28 17:07:26 +03:00
Denis Zharkov
9ac0ac50ea
FIR: Support callable references to vars
...
^KT-32725 In Progress
2019-10-28 17:07:25 +03:00
Denis Zharkov
4233cf1bd6
FIR: Get rid of the cycle in delegated properties resolution
...
^KT-32725 In Progress
2019-10-28 17:07:23 +03:00
Denis Zharkov
f97f06a99a
FIR: Support callable references for constructors
...
^KT-32725 In Progress
2019-10-28 17:07:22 +03:00
Denis Zharkov
1e0105d40e
FIR: Fix initialization pieces for callable references after rebase
...
^KT-32725 In Progress
2019-10-28 17:07:21 +03:00
Denis Zharkov
7ae3eda37f
FIR: Rename FirResolvedRealCallableReference -> FirResolvedCallableReference
...
^KT-32725 In Progress
2019-10-28 17:07:19 +03:00
Denis Zharkov
1564e72b59
FIR: Rename FirResolvedCallableReference -> FirResolvedNamedReference
...
^KT-32725 In Progress
2019-10-28 17:07:18 +03:00
Denis Zharkov
5e322a2dd9
FIR: Refactor ResolvedCallableReferenceAtom
...
^KT-32725 In Progress
2019-10-28 17:07:16 +03:00
Denis Zharkov
fe8cd195aa
FIR: Support callable references outside of the calls
...
^KT-32725 In Progress
2019-10-28 17:07:15 +03:00
Denis Zharkov
152236d84a
FIR: Support callable references to declarations with implicit types
...
^KT-32725 In Progress
2019-10-28 17:07:14 +03:00
Denis Zharkov
af72cea8b3
FIR: Add simple test on SAM conversion for callable receivers
...
^KT-32725 In Progress
2019-10-28 17:07:12 +03:00
Denis Zharkov
7feb1aecfe
FIR: Add constraints for extension receiver of callable reference
...
^KT-32725 In Progress
2019-10-28 17:07:11 +03:00
Denis Zharkov
74b9ba1613
FIR: Support callable references to properties
...
^KT-32725 In Progress
2019-10-28 17:07:10 +03:00
Denis Zharkov
38ab6521aa
FIR: Support static methods in callable references
...
^KT-32725 In Progress
2019-10-28 17:07:09 +03:00