Valentin Kipyatkov
de52cae7be
Moved and renamed CreateFromUsageFactory
2015-10-16 19:06:31 +03:00
Valentin Kipyatkov
79375fa5e1
No i18n
2015-10-16 19:06:31 +03:00
Valentin Kipyatkov
0542ef30e3
Converted to Kotlin
2015-10-16 19:06:31 +03:00
Valentin Kipyatkov
5d1d44dfd3
More correct way to map arguments to parameters
2015-10-16 19:06:31 +03:00
Valentin Kipyatkov
4df9a46b00
Moved method
2015-10-16 19:06:30 +03:00
Valentin Kipyatkov
bce9f26327
Code improvements
2015-10-16 19:06:30 +03:00
Valentin Kipyatkov
f67e05de72
No i18n
2015-10-16 19:06:30 +03:00
Valentin Kipyatkov
4816003efd
Refactoring to not pass BindingContext
2015-10-16 19:06:30 +03:00
Valentin Kipyatkov
c79d93b46c
Converted to Kotlin
2015-10-16 19:06:30 +03:00
Valentin Kipyatkov
23025b072e
Renamed JetIntentionAction to KotlinQuickFixAction
2015-10-16 19:06:29 +03:00
Valentin Kipyatkov
ab87471177
Converted JetIntentionAction to Kotlin
2015-10-16 19:06:29 +03:00
Valentin Kipyatkov
800e629614
Changed code style settings to place 'else' on new line
2015-10-16 19:06:18 +03:00
Ilya Gorbunov
59f88cfb52
Ensure vararg copy behavior for specific case of arrayListOf in JS.
2015-10-16 18:43:41 +03:00
Ilya Gorbunov
446cdc087d
Optimizations in listOf and arrayListOf constructor functions.
...
Remove linkedListOf() from JS.
#KT-5703 Fixed
#KT-8519 Fixed
2015-10-16 18:28:43 +03:00
Denis Zharkov
032ba44070
Minor. Add optimization for getOverriddenBuiltinWithDifferentJvmName
2015-10-16 18:16:03 +03:00
Denis Zharkov
155bbd40ae
Do not generate not-null assertion for argument of Collection.contains
...
Of course not only for contains but for other methods having INSTANCEOF bar.rier
Otherwise using platform null values becomes for such methods becomes
dangerous in cases like `platformString in setOf("", "")`
2015-10-16 18:16:02 +03:00
Denis Zharkov
495780f5ab
Generate INVOKEVIRTUAL 'contains(Object)' instead of 'contains(String)'
...
In cases when callee overrides Collection<String>.contains
2015-10-16 18:16:02 +03:00
Denis Zharkov
64da399b31
Do not generate builtin bridges with Kotlin signature as synthetic
...
They should be available in Java (at least for overridding)
2015-10-16 18:16:02 +03:00
Denis Zharkov
d335f71dfe
Generate special bridges for builtins with same name but different JVM descriptor
2015-10-16 18:16:02 +03:00
Denis Zharkov
07d8754adb
Minor. Add bytecode listing tests with contains* methods
2015-10-16 18:16:02 +03:00
Denis Zharkov
b5296104e9
Ignore fake overrides when generating stub methods for MutableCollections
...
Because it's redundant as we go through all mutable collection hierarchy anyway
It wasn't a problem because for fake override just `generatedBridges` is being called
and there were no special bridges for such methods.
2015-10-16 18:16:02 +03:00
Denis Zharkov
65551e1185
Print 'final' and 'abstract' in BytecodeListing tests and sort declarations
...
Latter is needed to make format stable
2015-10-16 18:16:02 +03:00
Denis Zharkov
978a4cfa3c
Minor. Refine naming for SpecialBuiltinMembers
2015-10-16 18:16:02 +03:00
Denis Zharkov
b6df6d8ae0
Exclude runtime.jvm from source roots
...
It's needed not to broke whole project compilation
while transforming Array.size
2015-10-16 18:16:02 +03:00
Denis Zharkov
bd37a10677
Transform *Array.size to properties
2015-10-16 18:16:02 +03:00
Andrey Breslav
b050324869
Mark string prefixes and suffixes as unsupported
2015-10-16 18:03:53 +03:00
Andrey Breslav
267ec2724e
Minor. Ant task renamed: JetLexer -> KotlinLexer
2015-10-16 17:55:12 +03:00
Andrey Breslav
d1a3a66e12
Minor. Comments removed
2015-10-16 17:55:11 +03:00
Nikolay Krasko
cf7f94a559
Process request for searching class with empty qualified name without errors
2015-10-16 16:28:02 +03:00
Yan Zhulanow
2a55894bec
Update OperationsMapGenerated
2015-10-16 16:19:51 +03:00
Zalim Bashorov
e54e6a3f31
Minor: fix build
2015-10-16 16:14:34 +03:00
Zalim Bashorov
79d38a6c8f
Report the error when a declaration in Kotlin accidentally overrides a static member from Java
2015-10-16 16:14:34 +03:00
Zalim Bashorov
72a686f9e0
Add tests for accessing to Java/Kotlin inner/nested classes
2015-10-16 16:09:35 +03:00
Zalim Bashorov
9acf3e40de
Generic type with Nothing in arguments compiles to raw type
2015-10-16 15:30:41 +03:00
Michael Nedzelsky
8e9f1ac31a
Extension function type is not allowed as supertype
2015-10-16 14:23:47 +03:00
Dmitry Petrov
d3e2dd5942
Dropping package facades: drop package facades not cleaned up automatically
2015-10-16 13:53:23 +03:00
Dmitry Petrov
670b49ec5e
Dropping package facades: remove unused imports from package facades
...
(not cleaned up automatically)
2015-10-16 11:23:22 +03:00
Alexander Udalov
74cd449d86
Fix runtime copying for IDEA run configuration
...
- 'overwrite' is false by default, so now it's set to true explicitly
- copy the runtime to all other plugins as well because runtimes from those
plugins sometimes appear before the Kotlin one
2015-10-15 22:36:23 +03:00
Alexander Udalov
f62128bdcd
Fix protobuf extension API usages
...
"getExtension" returns default value when the requested extension is not
present, which is 0 for Int, which makes no sense for extensions like
methodImplClassName that are storing the number in the string table
2015-10-15 22:36:22 +03:00
Nikolay Krasko
4a361ebe60
Hide update plugin popup right after Intall was clicked to prevent multiple downloads
2015-10-15 19:37:22 +03:00
Michael Nedzelsky
114d19e6d9
use MainFunctionDetector in order to check for main function
2015-10-15 19:24:45 +03:00
Valentin Kipyatkov
e2c7ba7f40
Changed test data to not use deprecated api
2015-10-15 19:20:12 +03:00
Valentin Kipyatkov
36b3b16cb5
KT-5145 has been resolved but KT-9606 exists
2015-10-15 19:20:12 +03:00
Valentin Kipyatkov
a83539705e
Fixed completion handler for annotations (because the parser does not parse "@ xxx" as annotation anymore)
2015-10-15 19:20:12 +03:00
Valentin Kipyatkov
dc83d5cf04
Fixed test data
2015-10-15 19:20:12 +03:00
Valentin Kipyatkov
f67bd8c13f
Even more precise keyword completion for modifiers
2015-10-15 19:20:11 +03:00
Valentin Kipyatkov
15d507bf47
Removed obsolete comments
2015-10-15 19:20:11 +03:00
Valentin Kipyatkov
762900037e
Minor
2015-10-15 19:20:11 +03:00
Valentin Kipyatkov
26768ad34b
Renames
2015-10-15 19:20:11 +03:00
Valentin Kipyatkov
292ea7625c
Removed obosolete modifier "ref" from tests
2015-10-15 19:20:11 +03:00