Commit Graph

26031 Commits

Author SHA1 Message Date
Alexey Sedunov 594e4e5c31 Resource Bundles: Inspections on invalid property key/resource bundle references
#KT-6946 In Progress
2015-09-25 17:18:01 +03:00
Alexey Sedunov 44fd9d17ed Resource Bundles: Add Rename tests for bundle files and properties
#KT-6946 In Progress
2015-09-25 17:18:00 +03:00
Alexey Sedunov 5af4101f7d Resource Bundles: Implement references on Kotlin string literals
#KT-6946 In Progress
2015-09-25 17:17:59 +03:00
Ilya Chernikov 9c7d6c1649 Fixing KT-9196 (broken kotlin-compiler-embeddable.jar in M13) by excluding org.fusesource.jansi.internal.CLibrary from relocation, adding smoke test for embeddable jar 2015-09-25 16:13:03 +02:00
Natalia Ukhorskaya 3dd076efa8 Minor: extract function 2015-09-25 16:01:37 +03:00
Natalia Ukhorskaya c872f301ff Fix steping for inline functions with reified parameters 2015-09-25 16:01:36 +03:00
Natalia Ukhorskaya 33b5e6b255 Fix stepping for inline functions inside when, if, try 2015-09-25 16:01:35 +03:00
Michael Nedzelsky e92f14e49c increment version in KotlinJavaScriptMetaFileIndex in order to force rebuild indexes 2015-09-25 15:14:20 +03:00
Michael Nedzelsky 6013d3a527 code cleanup: fileIndexes 2015-09-25 15:14:15 +03:00
Michael Nedzelsky b8ab8bcfca check for access to internal elements from another module in jps-plugin
hack for access from tests to internal declarations in production code

fix AbstractCompileKotlinAgainstKotinTest: add information about output directory in order to correct check for internal visibility.
2015-09-25 14:02:29 +03:00
Michael Nedzelsky 0b49195a03 add tests in KotlinJpsTest for check access to internal elements from another module 2015-09-25 14:02:26 +03:00
Michael Nedzelsky ad274c5137 add tests for incremental compilation with changed internal class 2015-09-25 14:02:21 +03:00
Valentin Kipyatkov c8a244cc40 Minor corrections on code review 2015-09-25 13:02:47 +03:00
Valentin Kipyatkov db0578c187 Refactored code 2015-09-25 13:02:46 +03:00
Valentin Kipyatkov 22797114c7 J2K: correct handling of properties with "is" notation 2015-09-25 13:02:46 +03:00
Valentin Kipyatkov c8b6db4e57 Renamed test data folder 2015-09-25 13:02:46 +03:00
Valentin Kipyatkov ade9cbcafb Refactoring (+ slightly more correct logic) 2015-09-25 13:02:46 +03:00
Valentin Kipyatkov c05232bbb7 J2K: generate accessor bodies in expression form if possible 2015-09-25 13:02:46 +03:00
Valentin Kipyatkov ee5a853faa Generate accessor with delegation to super when it's necessary 2015-09-25 13:02:45 +03:00
Valentin Kipyatkov b1b5af8e1e More correct detection of super property 2015-09-25 13:02:45 +03:00
Valentin Kipyatkov 8a0cd92aff Minor 2015-09-25 13:02:45 +03:00
Valentin Kipyatkov e885657894 Minor api refactoring "isVal" -> "isVar" 2015-09-25 13:02:45 +03:00
Valentin Kipyatkov 320102bbdb J2K: get/set-methods converted to properties (but lot of TODOs left) 2015-09-25 13:02:45 +03:00
Denis Zharkov 3f6cadf9b7 Change FUNCTION_EXPRESSION_WITH_NAME severity to ERROR
Also drop deprecation related parts and get rid of usages of this `feature` within testData
2015-09-25 08:29:26 +03:00
Denis Zharkov 1d90b2e1fe Get rid of obsolete syntax in quickfixes changing lambda's signature
- Do not wrap parameters with '()'
- Do not set return type for them
- Fix existing testData
2015-09-25 08:29:26 +03:00
Denis Zharkov 31d2aa23f5 Remove ChangeType quickfix for lamdas with deprecated syntax 2015-09-25 08:29:26 +03:00
Denis Zharkov 60ebc689ad Drop diagnostic reported on lambda's return type
Because it's not allowed syntactically anymore.
Also adjust related methods within JetFunctionNotStubbed
2015-09-25 08:29:26 +03:00
Denis Zharkov c6377a0664 Drop everything related to lambda syntax deprecation 2015-09-25 08:29:26 +03:00
Denis Zharkov 73799e2c3c Replace deprecated lambda syntax in testData
It's done with similar constructions where possible trying to preserve
intended behavior.
Some usages are removed because they test exactly the feature that
we are going to drop soon.
2015-09-25 08:29:25 +03:00
Denis Zharkov 5f69789636 Stop parsing lambdas with deprecated syntax 2015-09-25 08:29:25 +03:00
Zalim Bashorov 79ac436b9f Add tests for cases when add and remove custom accessors for val with smartcasted usage 2015-09-24 22:50:48 +03:00
Michael Nedzelsky c6409138d8 Merge pull request #752 from JetBrains/rr/compile-service-3
compile service 3
2015-09-24 16:50:09 +03:00
Valentin Kipyatkov f27c18b4a2 KT-8979 Completion of non-imported extension with "!" character corrupts code
#KT-8979 Fixed
2015-09-24 16:44:41 +03:00
Stanislav Erokhin c2b1a5ee6d Removed unnecessary long checks. 2015-09-24 14:32:54 +03:00
Stanislav Erokhin e4e6a600e1 Add performance hack for unInvalidate Files from stdlib in tests. 2015-09-24 14:32:54 +03:00
Stanislav Erokhin 9cc6d1cf58 Added check to ImportInsertHelperImpl that inserted import successfully imports descriptor 2015-09-24 14:07:51 +03:00
Stanislav Erokhin 88815c40cc Minor. Fix testdata. 2015-09-24 14:07:51 +03:00
Stanislav Erokhin cdcf9f30b7 Minor. Fix compilation. 2015-09-24 14:07:51 +03:00
Stanislav Erokhin fc9aa87a05 Report diagnostic on import with explicit import class if class was imported earlier. 2015-09-24 14:07:43 +03:00
Stanislav Erokhin 6c1738e11a Minor. Small refactoring of AllUnderImportsScope 2015-09-24 13:53:56 +03:00
Stanislav Erokhin 85895bec62 Improved error reporting, when we trying import invisible descriptor. 2015-09-24 13:53:56 +03:00
Stanislav Erokhin d7a14075f1 Removed ImportPackage UI settings 2015-09-24 13:53:56 +03:00
Stanislav Erokhin 1360f3cd43 Fix visibility checker for import. 2015-09-24 13:53:55 +03:00
Michael Bogdanov e5334ed9b8 Compare arrays via equals (not Arrays.equals) in data classes 2015-09-24 12:00:19 +03:00
Michael Bogdanov cf57d56ab3 Don't generate private members in interface 2015-09-24 12:00:18 +03:00
Ilya Chernikov 4b1601974f Refactoring parts related to passing services to compiler in daemon, adding uniform support for cancellation check and lookup tracking 2015-09-24 10:44:44 +02:00
Ilya Chernikov 3c16b2de87 Converting KotlinCompilerRunner.java to kotlin - phase 3 - refactoring to more kotlin style 2015-09-24 10:42:54 +02:00
Ilya Chernikov 0047fb1272 Converting KotlinCompilerRunner.java to kotlin - phase 2 - converter + manual fixes 2015-09-24 09:56:26 +02:00
Ilya Chernikov fffe6dd837 Converting KotlinCompilerRunner.java to kotlin - phase 1 - renaming to .kt to preserve history 2015-09-24 09:56:26 +02:00
Ilya Chernikov 886dc4b438 Refactoring daemon tests for more reusable code, adding instances test, minor fixes and improvements 2015-09-24 09:56:25 +02:00