Alexander Udalov
4a8d2b73d3
Remove deprecated stuff unused after M13
2015-09-22 18:22:55 +03:00
Alexander Udalov
7cc416ed12
Minor, rename TRAIT -> INTERFACE, CLASS_OBJECT -> COMPANION_OBJECT
2015-09-22 18:22:54 +03:00
Alexander Udalov
a0fb1a18e3
Minor, delete useless methods from NameResolver
2015-09-22 18:22:54 +03:00
Dmitry Jemerov
4ca434da54
remove support for 'trait' keyword
2015-09-22 15:00:24 +02:00
Michael Nedzelsky
a8e1c1f7d3
move Interner.java to deserialization module
2015-09-19 00:13:55 +03:00
Michael Nedzelsky
be875d797f
descriptors.proto: add skip_in_comparison option for (prepared to retire) constructor field in Class message
2015-09-19 00:13:51 +03:00
Stanislav Erokhin
5786e620e8
Minor. remove import package usages from sources
2015-09-18 21:00:16 +03:00
Stanislav Erokhin
377f752837
Minor. Moved deserialized util functions from top-level to object
2015-09-18 21:00:15 +03:00
Valentin Kipyatkov
1ccbda6af4
Do not insert explicit visibility modifier if it's default
2015-09-18 15:44:17 +03:00
Valentin Kipyatkov
452cd49c5e
Disallowed @Deprecated for local variables and parameters
2015-09-18 15:44:16 +03:00
Denis Zharkov
7ea7e3cc7c
Render '@' before each annotation
2015-09-18 10:14:38 +03:00
Denis Zharkov
f518348565
Revert "Support decapitilized obsolete annotations in resolve"
...
This reverts commit 4159c83282 .
2015-09-18 10:14:37 +03:00
Denis Zharkov
9c4564a5a6
Get rid of deprecated annotations and modifiers in project code
2015-09-18 09:34:27 +03:00
Denis Zharkov
23ddf42981
Use JvmStatic in reflection instead of decapitalized
2015-09-18 09:34:25 +03:00
Denis Zharkov
38bafaa35c
Drop annotations deprecation related things: diagnostics, quickfixes
2015-09-18 09:34:25 +03:00
Alexander Udalov
d98b3433eb
Fix ABI version diagnostic for old package facades
...
Restore the test data that was erroneously replaced in 84649e4
2015-09-16 01:44:27 +03:00
Alexander Udalov
4bc257bd73
Minor refactoring in LazyJavaPackageScope
2015-09-16 01:44:27 +03:00
Alexander Udalov
c7c9ec35cf
Improve LoadBuiltinsTest, load built-ins from dist/kotlin-runtime.jar
2015-09-15 15:55:19 +03:00
Alexander Udalov
296512ffc4
Minor, remove useless code and fix warnings
2015-09-15 13:11:17 +03:00
Alexander Udalov
949144e0c0
Report incomplete hierarchy error for deserialized types
...
#KT-5129 Fixed
Delete a JPS test that was specifically testing that we would not fail in this
situation; now there's a compilation error
2015-09-15 13:11:17 +03:00
Alexander Udalov
b1d9e5c961
Minor, improve exception message for reflection on built-ins
2015-09-15 13:11:16 +03:00
Dmitry Petrov
b63eed44fe
Advance ABI version (due to stdlib binary layout changes)
2015-09-14 21:58:01 +03:00
Mikhail Glukhikh
b4399b8b8b
AnnotationTarget.CLASSIFIER and KotlinTarget.CLASSIFIER both dropped (second step)
2015-09-14 12:51:11 +03:00
Dmitry Petrov
1586a2df8e
Make stdlib work with -Xmultifile-package-facades.
...
Fixed wrong owner mapping in presence of -Xmultifile-package-facades.
Fixed backing field mapping issue.
Added more tests.
2015-09-14 11:26:29 +03:00
Dmitry Petrov
838433ba8a
- call multifile class members (compiling against binaries)
...
- inline multifile class members
HACK? scope-based part/facade resolution
2015-09-14 11:25:42 +03:00
Dmitry Petrov
50f83da6da
- call multifile class members (compiling against binaries)
...
- inline multifile class members
2015-09-14 11:25:42 +03:00
Nikolay Krasko
b7a96392dd
Revert non-lock value according to comment
2015-09-12 15:16:16 +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
Alexander Udalov
1394e646b7
Minor, fix deprecation message
2015-09-11 15:12:04 +03:00
Dmitry Jemerov
00d834cf73
revert deprecation that breaks tests
2015-09-11 12:26:20 +02:00
Dmitry Jemerov
8ca54f4dbb
minor doc corrections
2015-09-11 11:43:55 +02: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
Alexander Udalov
93dfaf72f7
Avoid dependency on HiddenDeclaration from compiler classpath
2015-09-10 15:43:24 +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
Alexander Udalov
c3cb6b62f4
Introduce SmartSet, an optimized Set implementation
...
Using it instead of LinkedHashSet for overridden descriptors optimizes memory
retained between analysis and codegen by ~5%
2015-09-10 01:18:22 +03:00
Dmitry Petrov
cd341e957e
Cleanup after review
...
+ stub builder test for multifile class
2015-09-09 19:08:19 +03:00
Dmitry Petrov
0c951b2ed3
Decompilation support
...
- class header reader for KotlinMultifileClass, KotlinMultifileClassPart
- proper implClassName for multifile class members
2015-09-09 19:08:18 +03:00
Dmitry Petrov
a00346a141
MultifileClassCodegen
...
- initial implementation
- new Kotlin file kinds + stub builder
2015-09-09 19:08:17 +03:00
Mikhail Glukhikh
aabf579454
java.lang.annotation.Documented is now special meta annotation + a few unused fields dropped
2015-09-09 14:58:44 +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
Michael Nedzelsky
ea11133142
strict checking for internal visibility
2015-09-08 19:00:45 +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
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
a22e15449d
Fix incremental compilation for delegated property with inline accessor
2015-09-08 05:49:35 +03:00
Michael Nedzelsky
873110c6ea
add explicit type for PackagePartProvider.EMPTY in order to avoid compilation error due KT-9072
2015-09-08 02:06:26 +03:00