Alexander Udalov
7f5b9b1760
Add tests on quick fix that adds 'actual' to platform declaration
...
#KT-18454
2017-09-25 12:00:18 +03:00
Alexander Udalov
60430828cf
Deduplicate code in AbstractQuickFixMulti{File,Module}Test
2017-09-25 12:00:18 +03:00
Alexander Udalov
113c83b47a
Minor, cleanup AbstractQuickFixMultiFileTest
2017-09-25 12:00:18 +03:00
Alexander Udalov
23d6690581
Fix codegen for multifile class parts with type aliases only
...
#KT-20337 Fixed
2017-09-25 11:58:20 +03:00
Alexander Udalov
09f36927a5
Do not try to generate 'expect' declarations in multifile classes
...
Similarly to PackageCodegenImpl#generateFile
#KT-15754 Fixed
#KT-17478 Fixed
2017-09-25 11:58:20 +03:00
Alexander Udalov
3f1ee74475
Minor, refactor compiler-running code in multiplatform integration test
...
The compiler is run twice and outputs are compared for equality. Thus,
if both runs ended with exceptions, the outputs were never equal because
the compiler was run from different places (stack traces were different
in only one line), which was a bit weird. Now outputs are equal and in
case of an exception, a standard "actual data differs from file content"
message is displayed
2017-09-25 11:58:20 +03:00
Alexander Udalov
2d9f07deec
Minor, add test for obsolete issue on "actual missing" error
...
#KT-20142
2017-09-25 11:58:20 +03:00
Alexander Udalov
2281ac842a
Prohibit super constructor call for 'expect' class
...
#KT-15490 Fixed
2017-09-25 11:58:20 +03:00
Alexander Udalov
8ae7343557
Prohibit 'expect' lateinit member properties
...
#KT-20319 Fixed
2017-09-25 11:58:20 +03:00
Alexander Udalov
1f992ed845
Improve error on 'expect' delegated property
...
#KT-15054 Fixed
#KT-15055 Fixed
2017-09-25 11:58:20 +03:00
Mikhail Glukhikh
258e8f73b6
Expect/actual: add inspection for Suppress("DIAGNOSTIC") migration
...
So #KT-20328 Fixed
2017-09-25 11:48:15 +03:00
Mikhail Glukhikh
0bce06dc0f
Synchronize cleanupTool = true with CleanupLocalInspectionTool
...
So #KT-20366 Fixed
2017-09-25 11:47:11 +03:00
Mikhail Glukhikh
d6028877e1
Add kapt3-idea dependency to gradle script
2017-09-25 11:47:08 +03:00
Mikhail Glukhikh
f348ee9381
Fix a pair of multi-platform messages #KT-20327 Fixed
2017-09-25 11:47:05 +03:00
Alexey Andreev
ee4d790f43
JS: optimize default arguments in cross-module inliner
...
This reduces size of circlet UI (of approx 2.5 mb) by about 90 kb
2017-09-25 11:29:05 +03:00
Alexey Andreev
e6ab3dc936
JS: generate aliases for intrinsics.
...
This makes generated code more friendly to UglifyJS.
For example, uglified circlet loses 15 kb.
2017-09-25 11:29:04 +03:00
Ilya Chernikov
80ac8897ff
Fix idea plugin jar name and ultimate build
2017-09-22 17:41:52 +02:00
Sergey Igushkin
25ca079fc5
Fix agp25 source set Kotlin classes not included in kotlin-gradle-plugin
2017-09-22 17:30:01 +03:00
Nikolay Krasko
1d51e5b59b
Refactoring: reuse implementation
2017-09-22 16:51:08 +03:00
Nikolay Krasko
5a8c957edc
Fix null-pointer template apply (EA-102391)
2017-09-22 16:51:08 +03:00
Nikolay Krasko
a8211a77d4
Fix null-pointer because of nullable elementAt (EA-99963)
...
#EA-99963 Fixed
2017-09-22 16:51:08 +03:00
Nikolay Krasko
a51a9795ae
Fix null-pointer because of nullable elementAt (EA-101762)
...
#EA-101762 Fixed
2017-09-22 16:51:08 +03:00
Ilya Gorbunov
00fa8ee464
Setup JRE version for codegen tests
...
Add camelCase task name aliases for codegen tests
2017-09-22 15:37:38 +03:00
Ilya Gorbunov
43e2be26f8
Advance stdlib version to 1.1.60
2017-09-22 15:37:38 +03:00
Dmitry Jemerov
0682f74560
Avoid duplicate file type calculation
2017-09-22 14:30:36 +02:00
Denis Zharkov
c7812beea4
Fix SOE in SignatureEnhancement::extractNullability
...
The problem was that `resolveTypeQualifierAnnotation` actually doesn't
guarantee that `typeQualifierAnnotation` is javax.annotation.NonNull
with argument
It could be just any type qualifier (see the test)
2017-09-22 14:15:11 +03:00
Ilya Chernikov
1953f8e945
Fix build-common publishing
2017-09-21 20:34:10 +02:00
Ilya Chernikov
0b34dde905
Add android-extensions-runtime to the dist
2017-09-21 20:34:08 +02:00
Ilya Chernikov
b5d68515e8
Fix path to android-extensions-runtime in ParcelBoxTest
2017-09-21 20:34:07 +02:00
Dmitry Jemerov
4549cc7289
Fix CodeConformanceTest for new gradle build
2017-09-21 18:09:25 +02:00
Dmitry Jemerov
65c0e445fd
Don't crash when trying to build stubs for files that have been deleted
...
Fixes EA-97751
2017-09-21 17:48:06 +02:00
Dmitry Jemerov
690eaa95bd
Update expected testdata of live templates test
2017-09-21 17:33:55 +02:00
Dmitry Jemerov
4c04eaa29a
Don't hard-code dependency versions in Maven import test
2017-09-21 17:17:44 +02:00
Dmitry Jemerov
7821366f6a
Add missing runtime dependency on TestNG and coverage plugins
2017-09-21 16:58:28 +02:00
Dmitry Jemerov
459d4f3ee9
Fix EAP detection regexp for double-digit patch releases
...
#KT-20331 Fixed
2017-09-21 16:17:51 +02:00
Toshiaki Kameyama
0b7055f7c0
Join lines could "convert to expression body" #KT-15769 Fixed ( #1304 )
2017-09-21 16:15:44 +02:00
Dmitry Jemerov
ab25beeb37
Fix exception in KotlinExpandNodeProjectViewProvider.modify
2017-09-21 15:19:19 +02:00
Mikhail Glukhikh
658ffa6c49
Add deprecated modifier to cleanup diagnostic list
2017-09-21 16:09:57 +03:00
Jonathan Leitschuh
539aed32d2
Improve information regarding running tests that load resources ( #1298 )
...
* Improve information regarding running tests that load resources
Figuring out how to run isolated generated tests is not imidiately straightforward.
This clears up confusion by throwing a more helpful error in the tests and
adding a section to the ReadMe.
* Cleanup ReadMe and comments after review feedback
2017-09-21 11:20:49 +02:00
Dmitry Jemerov
9e3f866831
Update README, remove misleading information ( #1306 )
2017-09-20 18:56:44 +02:00
Dmitry Jemerov
c8d171b543
Don't show "Run tests" gutter icon when there's nothing to run
...
#KT-20338 Fixed
2017-09-20 18:49:25 +02:00
Ilya Gorbunov
7e0f38e07a
Rename run configuration (IDEA insists on it)
2017-09-20 18:47:57 +03:00
Ilya Gorbunov
3708a96d91
Add KEEP issues reference pattern
2017-09-20 18:47:27 +03:00
Simon Ogorodnik
d9b6495f01
Remove obsolete libraries xml's
2017-09-20 18:04:54 +03:00
Simon Ogorodnik
25f0322791
Apply code style settings migration
2017-09-20 18:00:58 +03:00
Simon Ogorodnik
228927f948
Remove obsolete run configurations and artifacts
2017-09-20 18:00:10 +03:00
Ilya Gorbunov
d91cedc0e5
Root project idea module with folder exclusions
2017-09-20 15:51:45 +03:00
Ilya Chernikov
ce18c2bf26
Fix readme - only basic corrections
2017-09-20 14:30:04 +02:00
Ilya Chernikov
d9e0486061
Fix ultimate tests
2017-09-20 11:52:07 +02:00
Ilya Chernikov
0f199835a3
Fix idea-gradle tests
2017-09-20 11:52:07 +02:00