Valentin Kipyatkov
7ee65bf41a
Minor
2015-10-03 10:38:31 +03:00
Valentin Kipyatkov
72a5a68769
Dropped support for backing fields (with '$') completion
2015-10-03 10:38:31 +03:00
Alexander Udalov
7c0b3e31c7
Fix usages of callable references with empty LHS in project
2015-10-03 04:37:06 +03:00
Alexander Udalov
659826d5c3
Update reservedWords JS tests after changes to callable references
2015-10-03 04:37:05 +03:00
Alexander Udalov
012a2971ff
Quick-fix to add type to LHS of incorrect callable references
2015-10-03 04:37:05 +03:00
Alexander Udalov
661f4efc68
Forbid callable references to members and extensions with empty LHS
...
This syntax is reserved to be likely used in the future as a shorthand for
"this::foo" where the resulting expression doesn't take the receiver as a
parameter but has "this" already bound to it
2015-10-03 04:37:04 +03:00
Alexander Udalov
f310d4c10e
Don't write Kotlin metadata in light classes mode
...
This was already happening for classes and packages, now will also for
interface DefaultImpls and any other possible classes
2015-10-03 01:03:35 +03:00
Alexander Udalov
cb6d16d224
Advance ABI version after changes to binary format
2015-10-03 00:59:52 +03:00
Alexander Udalov
bdd69d9e46
Use internal names in multifile class metadata
...
To reuse the strings already existing in the constant pool of the class file
2015-10-03 00:59:34 +03:00
Alexander Udalov
e1ccb92438
Write built-in extensions to new protobuf messages
2015-10-03 00:59:34 +03:00
Alexander Udalov
8c0a86617a
Write JVM signatures to new protobuf messages
2015-10-03 00:59:33 +03:00
Alexander Udalov
06a7ca5571
Minor, use existing utility for getting implClassName
2015-10-03 00:59:33 +03:00
Alexander Udalov
4f21caecc4
Simplify AnnotationAndConstantLoader, use NameResolver from ProtoContainer
2015-10-03 00:59:32 +03:00
Alexander Udalov
3a7a48a079
Minor, add nameResolver to ProtoContainer
2015-10-03 00:59:32 +03:00
Alexander Udalov
14ec34e37c
Refactor annotation and constant loader, simplify, drop some useless checks
2015-10-03 00:59:31 +03:00
Alexander Udalov
ad735cd788
Split ProtoBuf.Callable to three messages: constructor, function, property
...
Serialize both at the moment, will drop the old one after bootstrap
2015-10-03 00:59:30 +03:00
Alexander Udalov
041af28166
Deprecate and don't write KotlinClass$Kind, to be removed later
2015-10-03 00:59:30 +03:00
Alexander Udalov
056bb3f833
Deprecate and don't write KotlinSyntheticClass$Kind, to be removed later
2015-10-03 00:59:28 +03:00
Alexander Udalov
5bb47c8365
Write KotlinInterfaceDefaultImpls annotation to DefaultImpls classes
...
Instead of KotlinSyntheticClass with kind = TRAIT_IMPL
2015-10-03 00:58:52 +03:00
Alexander Udalov
e4090d3f30
Cleanup descriptors.proto, regenerate
...
- move enums and messages nested in Callable to top level, since they're likely
to be reused in other messages soon
- delete obsolete comments: some did not any value, some became obsolete with
custom options ("id in StringTable" -> name_id_in_table)
2015-10-02 20:30:55 +03:00
Dmitry Petrov
b09e727462
Update ideaVersion to 142.5239.7.
2015-10-02 19:07:30 +03:00
Nikolay Krasko
e4ac217e46
Update idea-continuous branches
...
- abandon 142 branch
- introduce 143 and 144 branches
2015-10-02 18:23:42 +03:00
Nikolay Krasko
6b6a6d98b7
Add additional line which shouldn't be modified after commenting in other branches to make git auto-merge possible
2015-10-02 18:23:41 +03:00
Dmitry Petrov
1f69ae254d
KT-9377 Support is-checks for read-only collections
...
Additional tests.
2015-10-02 15:17:00 +03:00
Dmitry Petrov
06d9ff6a71
KT-9377 Support is-checks for read-only collections
...
Generate better code for 'as?' with mutable collection types:
use CHECKCAST, do not introduce special intrinsics for safe-as.
2015-10-02 15:17:00 +03:00
Dmitry Petrov
e033d093d4
KT-9377 Support is-checks for read-only collections
...
Reorganize marker interfaces and is/as/as? intrinsics.
2015-10-02 15:17:00 +03:00
Dmitry Petrov
6cb0e5151c
KT-9377 Support is-checks for read-only collections
...
Intrinsics for is/as/as? with mutable Kotlin collections and related types.
2015-10-02 15:17:00 +03:00
Dmitry Petrov
35881198c3
KT-9377 Support is-checks for read-only collections
...
Marker interfaces for mutable Kotlin collections and related classes.
2015-10-02 15:17:00 +03:00
Michael Bogdanov
e91c556d06
Fix for wrong local variable table at inlining lambda with finallies
2015-10-02 13:41:41 +03:00
Mikhail Glukhikh
8ab746d6a3
J2K: visibility modifiers are no more applicable to local classes
2015-10-02 12:52:57 +03:00
Dmitry Jemerov
4ee1b4da84
fix compilation
2015-10-01 20:04:07 +02:00
Dmitry Jemerov
7bc3161e2f
"Rename" quickfix for underscore identifiers
2015-10-01 19:19:23 +02:00
Dmitry Jemerov
983de529ed
add missing read actions to overriders search
...
#KT-9147 Fixed
2015-10-01 19:17:24 +02:00
Dmitry Jemerov
4070ba13cd
when getting a descriptor for a PsiMethod, also check that it has a valid name (KT-9174)
...
#KT-9174 Fixed
2015-10-01 19:17:24 +02:00
Dmitry Jemerov
e70f88c67f
don't create editor in air if we can't find an editor for the element (EA-72968 - TDDE: TraceableDisposable.throwDisposalError)
2015-10-01 19:17:23 +02:00
Dmitry Jemerov
4f56821101
Java sometimes asks us to find usages of a method with no containing class; don't crash on this (EA-73362 - assert: JavaMemberImpl.getContainingClass)
2015-10-01 19:17:23 +02:00
Dmitry Jemerov
49eace61c9
don't report exception if trying to update jar to the same file (this can happen if the version of the plugin is different from the version of the runtime it bundles; in that case, we've already messed up and there is no value in spamming EA with exceptions) (EA-73451 - IAE: KotlinRuntimeLibraryUtil.replaceFile)
2015-10-01 19:17:22 +02:00
Dmitry Jemerov
5c93e25e67
remove dead code
2015-10-01 19:17:21 +02:00
Dmitry Jemerov
9c6f206606
don't try to get the parent of an empty FQ name (EA-73459 - ISE: FqName.parent)
...
#KT-9162 Fixed
2015-10-01 19:17:21 +02:00
Sergey Mashkov
c9843f6387
Downgrade maven-bundle-plugin to build against Java 6
2015-10-01 18:22:28 +03:00
Pavel V. Talanov
caefb2cf50
Adjust test data for converter test
...
Due to type inference change
2015-10-01 17:53:20 +03:00
Pavel V. Talanov
c19b8353d0
Minor, tests: remove some static accesses to builtIns
2015-10-01 17:53:20 +03:00
Pavel V. Talanov
a3fbf2fabc
Test that primitives, arrays, enums are implicitly serializable on jvm and not js
...
Specifically test calling java function that accepts java.io.Serializable
2015-10-01 17:53:19 +03:00
Pavel V. Talanov
7b49baf8c3
Test data adjustment: JetDiagnosticsTest
2015-10-01 17:53:19 +03:00
Pavel V. Talanov
bc8449a70c
Test data adjustment: Resolved calls and constraint system test
2015-10-01 17:53:18 +03:00
Pavel V. Talanov
41c0895abb
JetExtractionTest: adjust test data
...
after making some of builtin types serializable
2015-10-01 17:53:17 +03:00
Pavel V. Talanov
e263c85142
JetTypeChecker: adjust test data
...
after making some of builtin types serializable
2015-10-01 17:53:17 +03:00
Pavel V. Talanov
1f36b7fbea
Extract FunctionPlaceholders from ErrorUtils to a separate component since they are not really an error
2015-10-01 17:53:16 +03:00
Pavel V. Talanov
d5624708fb
Add "java.io.Serializable" as supertype to java builtIns mapped to classes that are serializable on jvm
...
Implementation is hacky, relies on adding fictional supertype to corresponding classes
2015-10-01 17:53:16 +03:00
Pavel V. Talanov
427c853e27
ErrorUtils return DefaultBuiltIns
...
This should be changed in the future by making ErrorUtils not-static
2015-10-01 17:53:15 +03:00