Commit Graph

17879 Commits

Author SHA1 Message Date
Andrey Breslav c2a03d60f0 Better support for forced resolve while debugging 2014-10-13 15:37:49 +04:00
Andrey Breslav b4f26bde44 Support forced resolve for lazy flexible types 2014-10-13 15:37:49 +04:00
Andrey Breslav 549df3c0eb Equality for flexible types 2014-10-13 15:37:48 +04:00
Andrey Breslav a39d2bc24f Failing test isolated 2014-10-13 15:37:48 +04:00
Andrey Breslav b665a1998b Supertypes should not be flexible 2014-10-13 15:37:47 +04:00
Andrey Breslav 0cbbb6a0db Test data fixed 2014-10-13 15:37:47 +04:00
Andrey Breslav 195274370f Fix the case of safe call and elvis operators: flexible types may be nullable 2014-10-13 15:37:46 +04:00
Andrey Breslav 45c1fa3741 Support flexible types in DataFlowValues 2014-10-13 15:37:46 +04:00
Andrey Breslav f7de0e274c TypeSubstitutor respects flexible types 2014-10-13 15:37:45 +04:00
Andrey Breslav f11095b1d0 Minor. DelegatingFlexibleType moved to top level 2014-10-13 15:37:45 +04:00
Andrey Breslav 687fdce30a Support flexible types in TypeCheckingProcedure 2014-10-13 15:37:44 +04:00
Andrey Breslav a2f8def1e8 Tests for Java method calls 2014-10-13 15:37:44 +04:00
Andrey Breslav 6c50e1b237 Render flexible types in debug mode 2014-10-13 15:37:43 +04:00
Andrey Breslav 90e4b09272 Fix compilation errors 2014-10-13 15:37:43 +04:00
Andrey Breslav e268e74fa3 Flexible types added to JDR
So far they act exactly like inflexible ones
2014-10-13 15:37:42 +04:00
Andrey Breslav ad8de070fa A flag in the JDR to govern usage of platform types 2014-10-13 15:37:42 +04:00
Michael Bogdanov a88e9666e4 As designed KT-5930: Wrong execution order in case of extension function
#KT-5930 As Designed
2014-10-13 11:31:15 +04:00
Michael Bogdanov 5abc2dac4e Generate labeled statements as statements 2014-10-13 11:31:15 +04:00
Michael Bogdanov 9d72036ba5 Fix for KT-5995: Labeled val causes an exception from the back-end
#KT-5995 Fixed
2014-10-13 11:30:28 +04:00
Michael Bogdanov 860544d299 Obsolete KT-5685: VerifyError: Bad local variable type for class with inline method and optional parameters
#KT-5685 Obsolete
2014-10-11 13:53:43 +04:00
Michael Bogdanov 605c9f48b4 Added inline annotation check on local funs 2014-10-11 13:53:43 +04:00
Michael Bogdanov 2a1520228e Support inheritance from java 8 interfaces
#KT-5969 In Progress
2014-10-11 13:53:43 +04:00
Andrey Breslav 3613fb746c Readme.md: Broken links fixed 2014-10-10 23:03:38 +04:00
Pavel V. Talanov ebbd08a546 Respect resolve scope when adapting java types completion
Do not suggest classes from unrelated modules
2014-10-10 21:14:30 +04:00
Pavel V. Talanov b6d76157c4 Respect source/test roots when building scope in CompletionSession 2014-10-10 21:14:29 +04:00
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