Commit Graph

26054 Commits

Author SHA1 Message Date
Yan Zhulanow 2c7f68ff71 Member and extension functions with 'operator' have now higher priority 2015-09-25 19:20:18 +03:00
Yan Zhulanow 1139a8dd0e Mark builtins and stblib functions with 'operator' 2015-09-25 19:20:18 +03:00
Yan Zhulanow ce4bcbba6d Simple diagnostic on 'operator' keyword 2015-09-25 19:20:17 +03:00
Yan Zhulanow 43bf87e82d Add diagnostics on convention operator calls without an "operator" modifier on declaration site 2015-09-25 19:19:02 +03:00
Yan Zhulanow fe744abc3c Mark componentN() in data classes with 'operator' 2015-09-25 19:17:25 +03:00
Stanislav Erokhin d3b81cf376 Mute assert in ReferenceVariantsHelper for scopes.
Now there are several places, where we can get JetScope and write wrapper by LexicalScope key.
Assertions is minor here, because in worse case we just added some wrong descriptors to completion.
2015-09-25 19:10:04 +03:00
Stanislav Erokhin 37af3d994b Created util function addImportScope and use it in ShadowedDeclarationsFilter 2015-09-25 19:10:04 +03:00
Stanislav Erokhin 8ab4114291 Minor. Fix testdata. 2015-09-25 19:10:03 +03:00
Natalia Ukhorskaya 40554996f8 Minor. Fix file path for windows 2015-09-25 19:10:02 +03:00
Mikhail Glukhikh 0a0bfdacb1 Names containing only '_' are deprecated (declarations, parameters, import aliases, labels, but not backquoted names) 2015-09-25 18:57:58 +03:00
Mikhail Glukhikh ebfb6c8468 private and override are no more compatible 2015-09-25 18:57:55 +03:00
Mikhail Glukhikh 9ccf1a1729 Partial rollback: 'private' is no more deprecated in interfaces, some tests rolled back accordingly 2015-09-25 18:57:52 +03:00
Denis Zharkov 505cb37052 Generate deprecated flag on getter of const val's 2015-09-25 18:12:45 +03:00
Valentin Kipyatkov 1c6ca9d036 Initial implementation of KT-5955 Completion for override methods
#KT-5955 Fixed
2015-09-25 18:12:18 +03:00
Michael Nedzelsky 15edbbb60c move service declaration to cli 2015-09-25 18:10:58 +03:00
Nikolay Krasko ec411444d5 Do not substitute version in bootstrap build 2015-09-25 18:07:59 +03:00
Nikolay Krasko 2cf640463c Enable override version filter only for specific branch - allow auto-merge to other branches 2015-09-25 18:07:58 +03:00
Nikolay Krasko 35caa79019 Auto-increment version from script
This allows to have own version system on particular branch. It's planned to be enabled in release branches.
2015-09-25 18:07:58 +03:00
Mikhail Glukhikh 103bb320c8 Do not generate non-function/getter/setter (expression) annotations on anonymous functions 2015-09-25 17:46:38 +03:00
Mikhail Glukhikh 74ba21b40c Extra annotation target test for prefix expression 2015-09-25 17:46:36 +03:00
Mikhail Glukhikh f06a79d534 KNPE fixed in data class checker together with some ID warnings #KT-9296 Fixed #EA-73584 Fixed 2015-09-25 17:46:33 +03:00
Mikhail Glukhikh bd7ccc0138 Annotation on a function literal cannot be written to binary if it has FUNCTION target and the literal is inlined 2015-09-25 17:46:30 +03:00
Alexey Sedunov 6b9e2b0bbb Resource Bundles: Enable property key completion in string literals
#KT-6946 Fixed
2015-09-25 17:18:02 +03:00
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