Commit Graph

17854 Commits

Author SHA1 Message Date
Pavel V. Talanov 2ded7bae73 Test abstract override in enum class 2014-10-10 18:19:57 +04:00
Pavel V. Talanov b2c288b62a Test super calls in enum literals 2014-10-10 18:12:56 +04:00
Pavel V. Talanov 8e6618920d Minor: rename test data file 2014-10-10 18:05:36 +04:00
Pavel V. Talanov bb5998048f Test code generation for enum deriving from a trait 2014-10-10 17:43:33 +04:00
Pavel V. Talanov c04b52561e "abstract" modifier on enum class is an error
#KT-3454 Fixed
2014-10-10 17:43:32 +04:00
Pavel V. Talanov 6eae62c235 Do not report NON_FINAL_MEMBER_IN_FINAL_CLASS on open members in enum classes 2014-10-10 17:43:32 +04:00
Pavel V. Talanov 4136c80358 Do not report ABSTRACT_MEMBER_NOT_IMPLEMENTED on enum classes
Partial fix of KT-3454
2014-10-10 17:43:31 +04:00
Pavel V. Talanov e703de5796 Minor: add diagnostic test for entries in enum with abstract members 2014-10-10 17:43:31 +04:00
Michael Nedzelsky 12e76f3d04 JS backend: test for KT-2901: nullable type in string template 2014-10-10 17:04:18 +04:00
Pavel V. Talanov e7cd4bf6cf Implement modificationTracker for CompositeDiagnostics
#KT-5981 Fixed
2014-10-10 16:46:05 +04:00
Evgeny Gerashchenko 75853e3aad Saving only class files into incremental cache.
Fixed exception for JS modules.
2014-10-10 16:24:03 +04:00
Evgeny Gerashchenko fa70192f75 Added test for EA-49318. 2014-10-10 16:00:27 +04:00
Evgeny Gerashchenko ad1b460bea Clarified assert for EA-45243. 2014-10-10 16:00:26 +04:00
Evgeny Gerashchenko 27238a470a Minor. Removed redundant cast. 2014-10-10 16:00:26 +04:00
Evgeny Gerashchenko 9829fd83a0 Fixed EA-45529. 2014-10-10 16:00:26 +04:00
Evgeny Gerashchenko 0137b7ec3c Clarified assertion for EA-45529. 2014-10-10 16:00:25 +04:00
Evgeny Gerashchenko 38514673bf Clarified assertion for EA-53060. 2014-10-10 16:00:25 +04:00
Evgeny Gerashchenko 556b76d9a4 Made it possible to patch IDEA by adding class to idea_runner module.
See confluence page for details: http://confluence.jetbrains.com/display/JET/How+to+patch+IDEA+for+Kotlin
2014-10-10 16:00:24 +04:00
Nikolay Krasko 9cdea0479c Update to IDEA 139.1.20 2014-10-10 12:56:53 +04:00
Pavel V. Talanov 2fc2c73374 Test mutable diagnostics 2014-10-09 20:32:56 +04:00
Pavel V. Talanov 19ec9f9eda Introduce MutableDiagnosticsWithSuppression and use it in BindingTrace implementations
Exposes the fact that Diagnostics is in fact a mutable entity with readonly API
Update readonly view when diagnostics are modified
Allows to avoid recreating DiagnosticsWithSuppression every time getDiagnostics() is called in DelegatingBindingTrace
  which led to severe performance issues for large files with lots of diagnostics
2014-10-09 20:32:55 +04:00
Pavel V. Talanov d7c06f0527 Default implementations for some functions in Diagnostics 2014-10-09 20:32:54 +04:00
Pavel V. Talanov b98f000c29 Prevent external change in SimpleDiagnostics and convert to Kotlin 2014-10-09 20:32:54 +04:00
Pavel V. Talanov ec077d5f8f Minor: rename DiagnosticHolder -> DiagnosticSink 2014-10-09 20:32:53 +04:00
Michael Nedzelsky e5bbc2a0d8 JS backend: support for Throwable.getMessage 2014-10-09 19:32:00 +04:00
Alexey Tsvetkov 5649797461 JS backend: catch fix refactoring 2014-10-09 19:31:57 +04:00
Michael Nedzelsky 787b8f72c5 JS backend: fix KT-5603 (Multiple catch): support for multiply catch clauses 2014-10-09 19:31:54 +04:00
Michael Nedzelsky b15963d3fb JS backend: fix KT-5603 (Multiple catch): add tests 2014-10-09 19:31:51 +04:00
Natalia Ukhorskaya 1ce3ddaa82 Minor add message for class cast
EA-59672
2014-10-09 19:18:25 +04:00
Natalia Ukhorskaya da96385f00 J2K: initialize NotNullManager 2014-10-09 19:18:23 +04:00
Natalia Ukhorskaya 141c88aaa9 Make ReferenceSearcher a parameter for JavaToKotlinConverter 2014-10-09 19:18:21 +04:00
Natalia Ukhorskaya db86ade5fb Evaluate expression: add readAction during file analysis 2014-10-09 19:17:24 +04:00
Natalia Ukhorskaya 1055aa86aa Debugger tests: do not check breakpoint line and file extension for JDK classes 2014-10-09 19:17:23 +04:00
Michael Bogdanov 1944f75802 Skip default methods on single abstract method search
Fix for KT-4886: SAM conversion doesn't work for interfaces with default methods

  #KT-4886 Fixed
2014-10-09 17:15:46 +04:00
Nikolay Krasko 062dda89ea Add dumb mode for building run configuration
#EA-61442
2014-10-09 15:21:15 +04:00
Natalia Ukhorskaya f9f4aefb2a Evaluate expression: check for errors before running extract function for code fragment 2014-10-09 13:48:39 +04:00
Natalia Ukhorskaya 410d5deb1c Evaluate expression: add runAction EA-61399 Fixed 2014-10-09 13:48:37 +04:00
Natalia Ukhorskaya e613e3523e Minor: fix warnings 2014-10-09 13:46:23 +04:00
Natalia Ukhorskaya e125375654 Evaluate expression: change message when extracted function is null 2014-10-09 13:46:22 +04:00
Natalia Ukhorskaya f5c08c4868 Evaluate expression: add message for multiple output error from extract function 2014-10-09 13:46:21 +04:00
Natalia Ukhorskaya f45baa9dbe Fix EA-60953 - NPE: CodeInsightUtils.findElementsOfClassInRange 2014-10-09 13:46:20 +04:00
Michael Bogdanov d4307c69d2 Fix for KT-4301: Too many StringBuilders on string concatenations
#KT-4301 Fixed
2014-10-09 12:23:06 +04:00
Michael Bogdanov 4a078c1143 Temporary disable local fun inlining (it's not supported now) 2014-10-09 10:38:14 +04:00
Nikolay Krasko ecb293bd6c Add context information about assert (EA-60850) 2014-10-09 02:28:48 +04:00
Nikolay Krasko 4b197aafa4 Abandon storing BindingContext in JetFunctionPsiElementCellRenderer
#EA-61357 Fixed
2014-10-09 02:28:47 +04:00
Nikolay Krasko 1143db85f1 Refactoring: move method to utility and don't create intermediate kotlin scope 2014-10-09 02:28:47 +04:00
Nikolay Krasko 3ea2d420b2 Refactoring: rename methods 2014-10-09 02:28:46 +04:00
Nikolay Krasko 6c9538b040 Share check "is file under source roots" 2014-10-09 02:28:45 +04:00
Nikolay Krasko 3e4888afa7 Refactoring: remove usages with default value from overload 2014-10-09 02:28:45 +04:00
Nikolay Krasko 7bf84ec84c Refactoring: rename method and hide information about gradle 2014-10-09 02:28:44 +04:00