Alexey Tsvetkov
90849a67ae
Prohibit annotations, modifiers and default values for parameters in function type
...
#KT-7619 fixed
2015-10-13 16:07:55 +03:00
Michael Bogdanov
27a1a17c09
Deprecate non-const properties copies in interface
2015-10-13 14:15:47 +03:00
Andrey Breslav
dbc0197a36
@HiddenDeclaration deprecated
2015-10-13 13:50:16 +03:00
Andrey Breslav
8e7f6f3c8c
Migrated from @HiddenDeclaration to @Deprecated(..., level = DeprecationLevel.HIDDEN)
2015-10-13 13:50:16 +03:00
Dmitry Jemerov
7663afb7e0
send OS version to plugin update checker
2015-10-13 11:27:20 +02:00
Alexander Udalov
046722100c
Minor, drop unused method
2015-10-13 11:59:46 +03:00
Alexander Udalov
571e5aea83
Minor, fix space in diagnostic message
2015-10-13 11:59:18 +03:00
Alexander Udalov
5f18cb8703
Rename files in reflection.jvm
...
Move KDeclarationContainer.functions to KClasses and make it accept only
KClass, since KPackage is deprecated anyway
2015-10-13 11:58:45 +03:00
Michael Bogdanov
a09c8105c4
Support reflection on top level properties
2015-10-13 11:14:33 +03:00
Michael Bogdanov
e8f9a9f3b8
Support reflection on @JvmField properties inside class companion
2015-10-13 11:14:32 +03:00
Michael Bogdanov
f4b7913dd3
sanitizeAsJavaIdentifier function moved to JvmAbi
2015-10-13 11:14:32 +03:00
Pavel V. Talanov
d8be99a378
Prohibit @JvmField for private properties
2015-10-13 11:14:31 +03:00
Michael Bogdanov
f7164c5bfd
Don't rename class property with JvmField annotation, report clashing
2015-10-13 11:14:31 +03:00
Michael Bogdanov
b713328540
Fix reflection for internal properties without getter/setter
2015-10-13 10:50:10 +03:00
Michael Bogdanov
81f478c6fd
JvmField retention changed to BINARY
2015-10-13 10:50:09 +03:00
Michael Bogdanov
22142ee44d
Initial support of JvmField annotation
2015-10-13 10:50:09 +03:00
Pavel V. Talanov
6cf9bfdb70
publicField -> JvmField
...
Effectively drop publicField and introduce JvmField (which has the same effect for now)
Implement frontend checks for @JvmField
Replace publicField -> JvmField in test data
2015-10-13 10:50:08 +03:00
Pavel V. Talanov
bfaf806f47
Refactor: move various checkers from JvmPlatformConfigurator.kt
2015-10-13 10:50:07 +03:00
Michael Bogdanov
7ce770d97d
Test data fix
2015-10-13 10:50:07 +03:00
Michael Bogdanov
ee6dbac381
Remove synthetic flag from internal members
2015-10-13 10:48:37 +03:00
Andrey Breslav
4f63d47f82
Intention action for hiddnen declarations fixed
2015-10-13 01:45:02 +03:00
Andrey Breslav
1c00b933a5
@Deprecated(..., level = HIDDEN) supported
...
isAnnotatedAsHidden() moved to front-end
2015-10-13 01:44:46 +03:00
Andrey Breslav
95240fc29f
DEPRECATED_ERROR supported
2015-10-13 01:44:46 +03:00
Alexander Udalov
34267e436e
Merge two deprecation diagnostics into one DEPRECATION
...
This also fixes weird suppressions in user code: instead of
«@Suppress("DEPRECATED_SYMBOL_WITH_MESSAGE")» you should now use
«@Suppress("DEPRECATION")»
2015-10-13 01:44:45 +03:00
Denis Zharkov
c817949221
Add services from descriptor.loader.java to resulting jars
...
#KT-9558 Fixed
2015-10-12 18:51:36 +03:00
Mikhail Glukhikh
92f031cc46
Warning "value of type parameter is predetermined" is no more generated for sealed bound #KT-9244 Fixed
2015-10-12 18:28:47 +03:00
Dmitry Petrov
b24623810e
Java 8 and Any-related restrictions: fix commits clash in testData
2015-10-12 18:17:51 +03:00
Mikhail Glukhikh
e121ba549e
Accessor visibilities are now forbidden for abstract properties
2015-10-12 18:12:39 +03:00
Svetlana Isakova
b709b431ea
Parse annotations on nullable types
2015-10-12 16:28:48 +03:00
Svetlana Isakova
b49a3f8e00
Added test for annotations on nullable types
2015-10-12 16:28:48 +03:00
Svetlana Isakova
c531c5a0af
KDoc. Don't ignore links in @see
...
Such link was totally ignored:
/**
* @see <a href="http://kotl.in ">http://kotl.in </a>
*/
2015-10-12 16:28:48 +03:00
Dmitry Petrov
818931ec06
Check for exposed local classes (or objects) in type signatures: fix IDE test
2015-10-12 15:35:39 +03:00
Dmitry Petrov
7e51fb8521
Check for exposed local classes (or objects) in type signatures
2015-10-12 15:24:54 +03:00
Valentin Kipyatkov
cbf4e4a973
Corrected order of modifier insertion
2015-10-12 15:10:39 +03:00
Valentin Kipyatkov
55cbe185f8
Do not offer to convert to infix call when calling non-infix function
2015-10-12 15:10:39 +03:00
Valentin Kipyatkov
ee7425c1de
Checking "infix" modifier in completion and import popup
2015-10-12 15:10:39 +03:00
Valentin Kipyatkov
a7577ac722
Don't use JetSimpleNameExpression too much
2015-10-12 15:09:53 +03:00
Dmitry Jemerov
23e13d4043
fix type parameter migration for extension functions
2015-10-12 13:45:44 +02:00
Andrey Breslav
045df48588
Minor. TRAIT -> INTERFACE
2015-10-12 14:40:48 +03:00
Andrey Breslav
a2e5e60c68
TRAIT -> INTERFACE in diagnostics
2015-10-12 14:36:38 +03:00
Dmitry Petrov
ff1bf673ba
Java 8 override restrictions: interface can't implement a method of 'Any'
...
- update Range and related classes
2015-10-12 14:12:31 +03:00
Dmitry Petrov
7e9e427d4c
Java 8 rules for method overrides:
...
- report errors on implementing methods of Any in interfaces
- update testData
~~~
Java 8 override restrictions: interface can't implement a method of 'Any'
- update compiler sources
2015-10-12 14:12:31 +03:00
Dmitry Petrov
5d9ee7efee
Java 8 rules for method overrides:
...
- base class method wins against a (default) interface method,
so an abstract base class method should always be implemented
in a derived class;
- interface methods clash regardless of abstract/default
with possibly undefined behavior at run-time,
so a class or interface should always define its own method
for methods inherited from multiple interfaces and not from base class;
- meaningful diagnostics for class inheriting conflicting JVM signatures.
Since no override will happen under Java 8 rules,
ACCIDENTAL_OVERRIDE is misleading for this case;
- update testData.
2015-10-12 14:12:31 +03:00
Mikhail Glukhikh
82c0265cb3
Quick fix for implicit nothing with a test
2015-10-12 13:30:22 +03:00
Mikhail Glukhikh
64543e3f52
Implicit Nothing return type is now deprecated
2015-10-12 13:30:16 +03:00
Mikhail Glukhikh
65f0f312ff
Private setter is now forbidden for non-private late init variables
2015-10-12 13:30:13 +03:00
Dmitry Jemerov
2cab34bb3f
drop hexadecimal double literals
2015-10-12 11:32:34 +02:00
Dmitry Jemerov
ead19076d7
stop calling propertyDelegated() method
2015-10-12 11:16:12 +02:00
Dmitry Jemerov
457e40a0b8
fix a few more tests
2015-10-12 11:11:31 +02:00
Dmitry Jemerov
02a242f15a
parser tweaks to compensate for removal of static type assertions
2015-10-12 11:11:30 +02:00