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
Valentin Kipyatkov
dfcf459bf6
Minor
2015-10-15 19:20:11 +03:00
Valentin Kipyatkov
87cfccc2d9
Removed all places in parser where obsolete annotation syntax was allowed
2015-10-15 19:20:10 +03:00
Valentin Kipyatkov
875eaa52e3
Removing unused code
2015-10-15 19:20:10 +03:00
Valentin Kipyatkov
58a9b34276
Minor
2015-10-15 19:20:10 +03:00
Valentin Kipyatkov
78f60503e3
More correct keyword completion after @
2015-10-15 19:20:10 +03:00
Valentin Kipyatkov
e27528477f
KT-9478 No override completion for second parameter in primary constructor
...
#KT-9478 Fixed
#KT-9386 Fixed
2015-10-15 19:20:10 +03:00
Valentin Kipyatkov
434be3be21
Adapted keyword completion to changed parser + more precise completion for modifier keywords
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
f90ff31507
Adapting code completion to no annotations without "@"
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
ddcab047ce
Added CallType.ANNOTATION
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
0030fb7155
Removed unused code
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
9e694523f8
Fixing conversion from Java on copy/paste after changes in parser
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
b519a8af08
Fixing live template context detection after changes in parser
2015-10-15 19:20:09 +03:00
Valentin Kipyatkov
988c934e78
Fixed Pull Up to generate correct annotation syntax
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
c8135fe4f2
Removed obolete syntax for enum entries in test data
2015-10-15 19:20:08 +03:00
Valentin Kipyatkov
090ea37a32
Fixed test data to use only annotation syntax with @
2015-10-15 19:20:08 +03:00