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
Michael Nedzelsky
ece8bb07b2
fix tests in org.jetbrains.kotlin.jvm.compiler
2015-09-08 02:04:38 +03:00
Michael Nedzelsky
bc5c9065d2
fix tests in org.jetbrains.kotlin.checkers
2015-09-08 02:04:32 +03:00
Svetlana Isakova
fe34d1673e
Exception 'Base expression was not processed: function literal' fixed
2015-09-07 17:05:40 +03:00
Svetlana Isakova
4f28a0a9a1
KT-8879 Stackoverflow exception on completion from inference
...
#KT-8879 Fixed
Added ConstraintContext storing 'derivedFrom' variables.
This information is used to prevent infinite recursion:
if a variable was substituted in a type of a bound, it shouldn't be substituted there for the second time.
2015-09-07 17:05:39 +03:00
Michael Bogdanov
5805c42305
Write abi version to mapping file
2015-09-07 16:29:16 +03:00
Michael Bogdanov
2b6ebedc3e
onReceiver test fix
2015-09-07 16:29:04 +03:00
Michael Bogdanov
b3fc667c1e
WrongAbi test data fix
2015-09-07 16:29:03 +03:00
Michael Bogdanov
47635c19a2
Generate calls through new minifacades
2015-09-07 16:28:59 +03:00
Michael Bogdanov
84649e4b26
Wrong abi test fix
2015-09-07 16:28:57 +03:00
Michael Bogdanov
843241848f
Test fix
2015-09-07 16:28:55 +03:00
Michael Bogdanov
43af127ce8
new fixes
2015-09-07 16:28:52 +03:00
Dmitry Petrov
ab8b5d05ed
Light class generation for new facades/parts.
...
1st working (naive) implementation.
2015-09-07 16:28:45 +03:00