Alexander Gorshenev
19bd01cc8a
Introduced proper IrStatementOrigin serialization.
2019-04-29 04:04:16 +03:00
Nicolay Mitropolsky
0794ab9432
Uast: cleaunp warnings (but some still remains)
2019-04-28 16:36:43 +03:00
Svyatoslav Kuzmich
13b332e99e
Build scripts for JS IR versions of stdlib and kotlin.tests
2019-04-26 20:14:12 +03:00
Svyatoslav Kuzmich
5da83889d9
Stdlib tests: Supporess NoInfer access instead of redeclaration
...
Stdlib annotation 'kotlin.internal.NoInfer' was redeclared in stdlib tests
so non-fried modules (kotlin-stdlib-jdk7, kotlin-stdlib-jdk8, etc.)
could access it.
IR deserializer does not support declaration duplicates (at least yet
for JS IR backend). Thus this commit removes this redeclaration and
suppresses errors on its usages instead.
2019-04-26 20:14:03 +03:00
Sergey Igushkin
4848911e6d
Fix testNativeTests, add missing system-out to expected test outputs
2019-04-26 18:51:25 +03:00
Sergey Igushkin
9d7c5213df
Fix testNewKotlinJsPlugin on Windows (slashes)
2019-04-26 18:32:43 +03:00
Dmitry Petrov
865e0cc080
IR: IrConstructorCall: fixes after rebase
2019-04-26 17:43:26 +03:00
Igor Chevdar
7f423bd841
[IR] Fixes in inliner
2019-04-26 17:43:26 +03:00
Mikhael Bogdanov
be0b2e064b
Fix JVM IR inliner
2019-04-26 17:43:26 +03:00
Roman Artemev
c545481db9
Fix JS_IR IrConstructorCall support
2019-04-26 17:43:26 +03:00
Roman Artemev
2a3ce8e9f1
Serialize IrConstructorCall
2019-04-26 17:43:26 +03:00
Dmitry Petrov
b78d1bb2b9
IrConstructorCall support in JVM_IR, JS_IR, and FIR2IR
2019-04-26 17:43:25 +03:00
Dmitry Petrov
82128800c5
IR: assertion in IrCallImpl init
...
NB it uses descriptor to determine if we try to call constructor using
IrCall.
2019-04-26 17:43:24 +03:00
Dmitry Petrov
11eea6e86a
psi2ir: generate IrConstructorCall elements in IR builder helpers
2019-04-26 17:43:24 +03:00
Dmitry Petrov
e3fd74a580
IR: annotations are represented as IrConstructorCall elements
...
Also, they are rendered somewhat nicer
2019-04-26 17:43:24 +03:00
Dmitry Petrov
db7bcb6464
IR proto: IrConstructorCall in protobuf format
2019-04-26 17:43:24 +03:00
Dmitry Petrov
198ccbc114
JVM_IR: support IrConstructorCall in ExpressionCodegen
2019-04-26 17:43:24 +03:00
Dmitry Petrov
37b1c175ce
IR: introduce IrConstructorCall / IrConstructorCallImpl
2019-04-26 17:43:24 +03:00
Roman Artemev
023306b1b3
[JS IR BE] Add tests for main function
2019-04-26 17:04:28 +03:00
Roman Artemev
5bd3bcd237
[JS IR BE] Support main function
...
* Implement IR-based main function detector
2019-04-26 17:04:28 +03:00
Roman Artemev
6729603ac7
[JS IR BE] Fix warnings
2019-04-26 17:04:28 +03:00
Mikhael Bogdanov
867e39f73c
Parallelize idea-gradle tests
2019-04-26 14:42:20 +02:00
Leonid Startsev
90bf36ea7a
Fix reference to IrField when serializing superclass' properties
2019-04-26 15:06:54 +03:00
Leonid Startsev
6bec6e6905
Add synthetic constructors to class member scope, so they won't fly 'in the air' in the backends
...
This is required mainly for Native compiler since it wont't work correctly on descriptors that are not present in the class.
2019-04-26 15:04:53 +03:00
Leonid Startsev
406896eaf0
Implement equals/hashcode for IrDeclarationOrigin so deserialized unknown origins would be compared correctly
2019-04-26 14:59:51 +03:00
LepilkinaElena
02331fbd7e
Unify compiler and cinterop flags names ( #2294 )
2019-04-26 13:34:14 +03:00
nikita.movshin
7b017cb76f
Add changelog for 1.3.30 and 1.3.31
2019-04-26 13:06:12 +03:00
Mikhael Bogdanov
c53682f397
Fix AS33 compilation
...
Commented unnecessary code that uses unavailable API
2019-04-26 11:29:42 +02:00
Mikhael Bogdanov
ceec35bf38
Up merge changes from UsefulTestCase into KtUsefulTestCase
2019-04-26 11:29:41 +02:00
Mikhael Bogdanov
1bc03e705a
Minor. Remove old parallelize approach
2019-04-26 11:29:41 +02:00
Sergey Rostov
911a5bdd0e
Specify missing type arguments to fix compilation
2019-04-26 12:00:43 +03:00
Mikhail Zarechenskiy
5b33e54f77
[NI] Provide diagnostics for candidates in "allCandidates" mode
...
This helps for completion as it use diagnostics to clip extra
candidates
2019-04-26 11:40:17 +03:00
Mikhail Zarechenskiy
450bfed375
Specify missing type arguments to fix compilation in FE module
2019-04-26 11:32:19 +03:00
Mikhail Zarechenskiy
57ad0aa8fb
Missing fix for project compilation against bootstrap compiler
2019-04-26 06:28:13 +03:00
Anton Yalyshev
657281a60d
added tracking of chosen Kotlin framework in Java-based wizards
2019-04-25 19:06:20 +03:00
Anton Yalyshev
1d3f75adfd
created FUS Group for New Project Wizards and Frameworks
2019-04-25 19:06:20 +03:00
Anton Yalyshev
01f34a0ba7
switched to new FUS adapter API
2019-04-25 19:06:19 +03:00
Anton Yalyshev
63ffff175b
now we send FUS for ModuleBuilders and FrameworkSupportProviders
2019-04-25 19:06:19 +03:00
Svyatoslav Kuzmich
5baa520232
Advance bootstrap to 1.3.40-dev-2251
...
Required for JS IR CLI and Gradle plugin
2019-04-25 19:04:59 +03:00
Ilya Matveev
774dbcd6c0
Fix IDEA import after including kotlin-native-shared in Gradle plugin
2019-04-25 21:32:03 +07:00
Mikhail Zarechenskiy
f00c946ff7
Fix projection compilation against bootstrap compiler
...
This is needed after 5d95a1ac
2019-04-25 16:19:38 +03:00
Mikhail Zarechenskiy
ac0a1d984f
[NI] Don't return resulting call if return type has uninferred types
2019-04-25 16:19:38 +03:00
Mikhail Zarechenskiy
db4ca059bd
[NI] Fix IDE-refactorings when there are uninferred parameters
2019-04-25 16:19:37 +03:00
Mikhail Zarechenskiy
1e3db9ee7c
[NI] Update test data for diagnostic tests
2019-04-25 16:19:37 +03:00
Mikhail Zarechenskiy
ff0993153c
[NI] Improvements for "not enough information" diagnostic
...
#KT-30590 Fixed
2019-04-25 16:19:36 +03:00
Mikhail Zarechenskiy
09cc2ae27f
[NI] Initial support of "not enough information" diagnostic
...
#KT-30590 In Progress
2019-04-25 16:19:36 +03:00
Dmitriy Novozhilov
c1b586f921
[NI] Complex test for "not enough" information diagnostic
2019-04-25 16:19:35 +03:00
Mikhail Zarechenskiy
d40313a8d7
[NI] Allow capturing type projections with type variables
...
#KT-25302 Fixed
2019-04-25 16:19:35 +03:00
Mikhail Zarechenskiy
abd1c3df26
[NI] Fix diagnostic reporting and unveil problem wrt captured types
2019-04-25 16:19:32 +03:00
Dmitry Gridin
6826d2f193
Replace provideByFqNameMulti with provideByFqName
2019-04-25 19:47:39 +07:00