Mikhail Glukhikh
d4d633ea26
Combined identifier info for things like '(x + y).z' is no longer treated as 'z' identifier info + a pair of tests + code fix #KT-9126 Fixed
2015-09-11 21:06:09 +03:00
Alexander Udalov
085fc3bf87
Transform anonymous types even for public symbols
...
This became necessary when we removed the requirement to specify types for
public members, because otherwise everything fails not being able to locate the
anonymous class from another module
#KT-9072 Fixed
EA-72801
2015-09-11 19:51:42 +03:00
Alexander Udalov
6cecc66d10
Improve ABI version from one number to "major.minor.patch"
2015-09-11 19:28:46 +03:00
Mikhail Glukhikh
3770e7f49f
Introduction of AnnotationTarget.CLASS as a replacement for CLASSIFIER (first step)
2015-09-11 17:59:40 +03:00
Yan Zhulanow
5dc9557650
Fix cli test that uses android compiler plugin
2015-09-11 04:30:07 +03:00
Alexander Udalov
3e5c8d1b79
Fix NPE on empty JVM name
...
#KT-9113 Fixed
2015-09-10 21:44:18 +03:00
Denis Zharkov
df97496a16
Deprecate 'kotlin.throws' in favor of 'kotlin.jvm.Throws'
2015-09-10 20:39:05 +03:00
Dmitry Petrov
6850e9180e
Effectively this is a return of "${facadeName}__${partName}" scheme.
...
Suggestions from @udalov:
- Make multifile class parts synthetic.
- Multifile class parts should have well-formed Java identifiers as names.
- Multifile class part names should contain facade name.
Add test with clashing part names.
Add test with local generic classes used in method signatures
(it works with parts names not being well-formed Java identifiers, though).
Capitalized annotations.
2015-09-10 18:03:34 +03:00
Mikhail Glukhikh
9b11b5300c
Elvis DFA: now only left part is taken into account #KT-9100 Fixed
...
I had to fix a few incorrect tests using something like x!! in Elvis right part, and also one bug in our code
2015-09-10 17:50:57 +03:00
Alexander Udalov
a1a2adf523
Fix inheritance from protected members of interfaces
...
#KT-3029 Fixed
2015-09-10 15:42:58 +03:00
Michael Bogdanov
908228a3cf
Test for obsolete KT-8133
...
#KT-8133 Obsolete
2015-09-10 12:43:27 +03:00
Michael Bogdanov
a5f7df3ebf
Fix for KT-9064
...
#KT-9064 Fixed
2015-09-10 11:08:02 +03:00
Denis Zharkov
e03e9bb1a3
Fix testBuiltins testData
2015-09-10 10:16:15 +03:00
Denis Zharkov
7b3303c152
Report special diagnostic on inlineUsage with LOCAL_CONTINUE_AND_BREAK
...
Such usages should be removed by quckfixes
2015-09-10 10:04:59 +03:00
Denis Zharkov
04483eb826
Report custom diagnostic instead of symbol deprecation
...
For annotations that should be replaced with modifiers
2015-09-10 10:04:59 +03:00
Pavel V. Talanov
daaefcc7fd
Test completion of single file facades in java
2015-09-09 21:20:35 +03:00
Dmitry Petrov
8162272106
Cleanup
...
- do not use annotation resolve in CodegenFileClassProvider
- test using private methods across different parts of multifile class
2015-09-09 19:08:19 +03:00
Dmitry Petrov
5e38c99f81
Name clash test for file class vs multifile class
2015-09-09 19:08:19 +03:00
Dmitry Petrov
e88584742e
basic multifile class codegen tests
2015-09-09 19:08:18 +03:00
Dmitry Petrov
07bedc0378
fix CLI help test
2015-09-09 19:08:18 +03:00
Michael Bogdanov
a52281f52a
Support default module name for withKotlin ant task
2015-09-09 13:32:39 +03:00
Denis Zharkov
7c16fb8a89
Fix StringIndexOutOfBoundsException
...
#EA-72837 Fixed
2015-09-09 12:51:19 +03:00
Denis Zharkov
c449c0d080
Deprecate inlineOption in favor of crossinline modifier
2015-09-09 12:35:19 +03:00
Alexander Udalov
3c4b2994a9
Fix protected call to super method from lambda
...
Previously JVM back-end had an assumption that if we're calling a method
declared in the super class from a lambda via a synthetic accessor, that should
be a super call and it must be done with 'invokespecial'. Which is wrong
because a method declared in the super class may be open and overridden in the
subclass, so 'invokevirtual' should be used. Surprisingly, Java SE verifier
allowed both instructions, but on Android only the latter is possible
#KT-8899 Fixed
#KT-9052 Fixed
2015-09-08 20:28:35 +03:00
Denis Zharkov
dbaf01feed
Minor. Add '@' symbol in testData where necessary (fix Java 8 build)
2015-09-08 19:03:49 +03:00
Michael Nedzelsky
ea11133142
strict checking for internal visibility
2015-09-08 19:00:45 +03:00
Denis Zharkov
297e9484ba
Deprecate decapitalized annotations
2015-09-08 17:50:41 +03:00
Mikhail Glukhikh
1dee922861
kotlin.annotation.Target / Retention have now more priority than same java classes if import java.lang.annotation.* is available
2015-09-08 17:18:31 +03:00
Mikhail Glukhikh
0257f46ebb
Special modifier parsing for enum entries: last of them is considered as an enum entry name #KT-9088 Fixed
2015-09-08 17:18:28 +03:00
Dmitry Petrov
bc5e29df9f
update tests: jvmName --> JvmName
2015-09-08 13:02:56 +03:00
Dmitry Petrov
2519641b2b
JvmName annotation support, single-file facade case (just rename file facade class)
...
- initial implementation of JvmFileClassesProvider
- migrate some of PackagePartClassUtil usages to JvmFileClassesProvider (mostly in Codegen)
- placeholder ("no resolve") implementation for migration period and unclear cases
- tests
2015-09-08 13:02:56 +03:00
Denis Zharkov
676ca86ea4
Deprecate escaped modifiers and unescaped annotations
2015-09-08 12:11:30 +03:00
Michael Bogdanov
25cd9de71a
Support default module name in ant task
2015-09-08 11:34:40 +03:00
Michael Bogdanov
912111d237
Fix for KT-8948: CompilationException: Back-end (JVM) Internal error: Couldn't inline method call 'foo' into
...
#KT-8948 Fixed
2015-09-08 11:34:40 +03:00
Mikhail Glukhikh
24252b64d0
Test and fix for NPE in CFA #KT-9078 Fixed #EA-71535 Fixed
2015-09-08 11:31:15 +03:00
Denis Zharkov
d7baef3f8d
Revert bf38f56261
2015-09-08 08:53:35 +03:00
Denis Zharkov
fc447e2d2f
Parse some builtin annotations as modifiers
...
But still resolve them as annotations.
Mostly it's needed as begin of migration path, one day they become modifiers anyway
Some tests are dropped because they supposed that `annotation` should have parameter
2015-09-08 08:53:35 +03:00
Denis Zharkov
c9a8609a67
Drop InlineStrategy and corresponding inline parameter
2015-09-08 08:53:35 +03:00
Alexey Tsvetkov
b25dfabbcc
Fix modules tests
2015-09-08 05:49:32 +03:00
Michael Nedzelsky
e6e6b20885
fix tests in org.jetbrains.kotlin.js.test.semantics for secondary constructors: TODO: fix problem and remove this commit
2015-09-08 02:06:23 +03:00
Michael Nedzelsky
aa44606663
fix tests in org.jetbrains.kotlin.checkers (related to KT-9072)
2015-09-08 02:06:16 +03:00
Michael Nedzelsky
165e6a9100
fix tests in org.jetbrains.kotlin.serialization.builtins
2015-09-08 02:06:09 +03:00
Michael Nedzelsky
4b9ee88b9a
fix tests for java 8
2015-09-08 02:06:05 +03:00
Michael Nedzelsky
b9906f842d
fix tests in org.jetbrains.kotlin.renderer
2015-09-08 02:05:58 +03:00
Michael Nedzelsky
aa8c90893e
fix tests in org.jetbrains.kotlin.idea.stubs
2015-09-08 02:05:54 +03:00
Michael Nedzelsky
a40c80e90b
fix tests in org.jetbrains.kotlin.codegen.generated
2015-09-08 02:05:09 +03:00
Michael Nedzelsky
de9b5695ae
fix tests in org.jetbrains.kotlin.cli
2015-09-08 02:05:05 +03:00
Michael Nedzelsky
f717806138
fix tests in org.jetbrains.kotlin.repl
2015-09-08 02:04:54 +03:00
Michael Nedzelsky
d81490d2f2
fix tests in org.jetbrains.kotlin.serialization
2015-09-08 02:04:50 +03:00
Michael Nedzelsky
84b5a57c15
fix tests in org.jetbrains.kotlin.serialization.builtins
2015-09-08 02:04:44 +03:00