Commit Graph

28155 Commits

Author SHA1 Message Date
Valentin Kipyatkov fdc7c75f5b Fixed "Import member" intention shown in the wrong place 2015-11-20 16:06:34 +03:00
Valentin Kipyatkov bf99f91d83 Fixed EA-75877 2015-11-20 16:06:34 +03:00
Dmitry Jemerov 30084dff9d ensure that the short name of the Kotlin unused import inspection does not clash with Java (KT-10046) 2015-11-20 13:54:40 +01:00
Mikhail Glukhikh c84b22396b Diagnostic 'final function with no body' deleted because it's redundant 2015-11-20 15:43:25 +03:00
Mikhail Glukhikh b5610eebae Diagnostic 'final property in interface' deleted because it's redundant 2015-11-20 15:43:22 +03:00
Mikhail Glukhikh cd1b58f2eb Final in interfaces: deprecation ---> error + relevant test fixes 2015-11-20 15:43:19 +03:00
Pavel V. Talanov 56af3a0af4 Increase stub version after changes to parser (script refactoring)
better late than never :(
2015-11-20 15:38:40 +03:00
Valentin Kipyatkov 603bcaa039 KT-10006 Parameter Info does not work for smart cast receiver
#KT-10006 Fixed
2015-11-20 15:36:31 +03:00
Mikhail Glukhikh 4e44466cf9 Exposed visibility deprecation warnings made errors + relevant test fixes 2015-11-20 15:21:01 +03:00
Mikhail Glukhikh e8e5d700d2 Effective visibility source code fix: frond-end 2015-11-20 15:20:38 +03:00
Mikhail Glukhikh e43a45755e Source code fix: no protected in object 2015-11-20 09:56:23 +03:00
Mikhail Glukhikh 3d75ebb859 Effective visibility source code fix: jps plugin 2015-11-20 09:56:19 +03:00
Pavel V. Talanov dbd49c37c1 Psi: Introduce KtScriptInitializer, a separate entity for script initializers which are quite a bit different from class initializers 2015-11-19 22:57:07 +03:00
Pavel V. Talanov 321364102a KtAnonymousInitializer: make it an interface with KtClassInitializer inheritor 2015-11-19 22:57:06 +03:00
Pavel V. Talanov bc2a65b2ea J2K KtAnonymousInitializer in one go
Rip history
2015-11-19 22:57:05 +03:00
Pavel V. Talanov 6bb89021dd Rename: KtClassInitializer -> KtAnonymousInitializer 2015-11-19 22:57:05 +03:00
Pavel V. Talanov 917b8bfe66 Minor, repl: clean up code 2015-11-19 22:57:04 +03:00
Pavel V. Talanov bdc64f322c Add script codegen tests with package statements
Tests codegen annotating visitor
2015-11-19 22:57:03 +03:00
Pavel V. Talanov ae5c95038b Place repl specific stuff of GenerationState into a separate entity
Add even more hacks to tell if the line has useful result to display
2015-11-19 22:57:03 +03:00
Pavel V. Talanov 405cfa439d Repl test: behave closer to real repl 2015-11-19 22:57:02 +03:00
Pavel V. Talanov ad58617753 Script refactoring, codegen tests: change test data according to semantics change
Add some new tests for uncovered cases
2015-11-19 22:57:01 +03:00
Pavel V. Talanov 6563830584 Script refactoring, backend: scripts are classes now, remove/refactor 'special code' dealing with scripts 2015-11-19 22:57:01 +03:00
Pavel V. Talanov d037068bba Turn off duplicateJvmSignature reporting for scripts until light classes are implemented 2015-11-19 22:56:58 +03:00
Pavel V. Talanov 2b955bc6ec Script refactoring, frontend tests: changes according to semantic changes in scripts
Add checker tests for scripts
2015-11-19 22:56:57 +03:00
Pavel V. Talanov efa4bf1d74 Script refactoring, frontend: Treat scripts as classes (as opposed to function bodies)
ScriptDescriptor implements ClassDescriptor
Scripts are accessible in IDE via stub index
Replace special treatment of scripts with generic mechanism in several cases
Scripts to longer generate 'rv' property for storing result value (changes in repl required)
2015-11-19 22:56:57 +03:00
Pavel V. Talanov aebcebe8ca Add simple checker tests for scripts 2015-11-19 22:56:55 +03:00
Pavel V. Talanov daa1a08213 Script refactoring, parser: wrap statements in script as if they are init blocks of a class 2015-11-19 22:56:54 +03:00
Pavel V. Talanov e45585be21 Make KtScript stubbed and add KotlinScriptFqnIndex 2015-11-19 22:56:53 +03:00
Michael Nedzelsky aa8f3df9a8 fix KT-10064 Regression: Error with multiple main functions within a single package
#KT-10064 Fixed
2015-11-19 19:59:27 +03:00
Yan Zhulanow 49f0953898 Remove obsolete JPS extension declaration in Android plugin (KT-10096) 2015-11-19 19:55:28 +03:00
Dmitry Petrov 42b587b0d5 Prohibit callable references to annotation class constructors.
See KT-4391.
2015-11-19 18:31:20 +03:00
Nikolay Krasko 0261a3fbbd Substitute version in bare plugin on buildserver 2015-11-19 16:08:04 +03:00
Nikolay Krasko ee3100dc79 Relay plugins with version replacing 2015-11-19 16:08:04 +03:00
Nikolay Krasko 642ac2ec5e Minor: rename JetParserDefinition to KotlinParserDefinition in comments 2015-11-19 16:08:03 +03:00
Michael Nedzelsky ea4470a16a fix KT-10068 JsLibraryStdDetectionUtil does not use caching through JarUserDataManager
#KT-10068 Fixed
2015-11-19 15:34:31 +03:00
Alexander Udalov 8fd7190992 Support ConstraintSystem.Builder.add, untested and unused at the moment 2015-11-19 14:40:01 +03:00
Natalia Ukhorskaya 6149f9f2bb Minor: extract method 2015-11-19 14:01:25 +03:00
Natalia Ukhorskaya f872b378d0 Create KotlinStackFrame only for kotlin classes with inline functions
#KT-10092 Fixed
2015-11-19 14:01:23 +03:00
Natalia Ukhorskaya 35ccfef040 Add test for navigation from stacktrace at inline function with object 2015-11-19 12:07:03 +03:00
Natalia Ukhorskaya 6867165aba Fix navigation from stack trace to inline function calls in inner classes 2015-11-19 12:07:02 +03:00
Natalia Ukhorskaya 3498038db1 Support navigation to library inline functions from stack trace 2015-11-19 12:07:01 +03:00
Natalia Ukhorskaya 214ae54c69 Rewrite old exception filter test with library sources 2015-11-19 12:07:00 +03:00
Natalia Ukhorskaya 6c0a68cf66 Rewrite some old exception filter tests 2015-11-19 12:06:59 +03:00
Natalia Ukhorskaya 9f0b52f030 Navigate to inline function from stackTrace
#KT-8066 Fixed
2015-11-19 12:06:58 +03:00
Natalia Ukhorskaya 93ccc08e3d Convert KotlinExceptionFilter to kotlin 2015-11-19 12:06:58 +03:00
Natalia Ukhorskaya 4506a73112 Rename .java to .kt 2015-11-19 12:06:57 +03:00
Natalia Ukhorskaya c0f67e497b Run Clean up on eval4j module 2015-11-19 12:06:56 +03:00
Natalia Ukhorskaya fddcd9b50f Workaround for bug in jdi: ClassCastException in invoke method with Object[] param using Interface[] argument 2015-11-19 12:06:55 +03:00
Natalia Ukhorskaya 2b646369f3 Minor: fix warning 2015-11-19 12:06:54 +03:00
Natalia Ukhorskaya 6e638bd30a Debugger: show line content instead of method content for breakpoint at line in drop-donw list 2015-11-19 12:06:54 +03:00