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
Dmitry Jemerov
a63d3f5a0f
fix more compilation errors and some tests
2015-10-12 11:11:29 +02:00
Dmitry Jemerov
f5aaf65ca9
remove usages of static type assertions from the compiler
2015-10-12 11:11:28 +02:00
Dmitry Jemerov
1523d5bcbf
removing static type assertions work in progress
2015-10-12 11:11:23 +02:00
Nikolay Krasko
8f87efc0a2
Update to IDEA 143.116.4
2015-10-12 11:49:47 +03:00
Ilya Gorbunov
7ff0e140f0
Update MockJDK to include Pattern.class required in tests for #KT-7732
2015-10-12 00:13:37 +03:00
Ilya Gorbunov
4ae2491ab6
J2K: Special conversion for java.lang.String methods: String.join (cannot be tested with MockJDK)
...
#KT-7732
2015-10-12 00:13:23 +03:00
Ilya Gorbunov
5914625b53
J2K: Special conversion for java.lang.String methods: more accurate parameter count matching for String.format
...
#KT-7732
2015-10-12 00:13:09 +03:00
Ilya Gorbunov
77a46cab92
J2K: Special conversion for java.lang.String methods: tests for lastIndexOf
...
#KT-7732
2015-10-12 00:12:55 +03:00
Ilya Gorbunov
7a0a23366c
Use PsiExpressionEvaluator to evaluate constant limit value.
2015-10-12 00:12:41 +03:00
Denis Zharkov
3bb8cf1bff
Temporary restore CharSequence.get extension
2015-10-11 19:59:31 +03:00
Denis Zharkov
a76a8fcc3f
Adjust various testData to remove/charAt transformation
2015-10-11 19:59:31 +03:00
Denis Zharkov
6d864e0854
Adjust collection stubs generating to 'remove' transformation
...
See substitutedList* tests in Backend
2015-10-11 19:59:30 +03:00
Denis Zharkov
1c7fa42b86
Adjust js codegen and lib to 'charAt' -> 'get' transformation
2015-10-11 19:59:30 +03:00
Denis Zharkov
6f4579213c
Adjust rendered descriptors after remove/charAt transformations
2015-10-11 19:59:30 +03:00
Denis Zharkov
3733d0e84f
Adjust stdlib to remove/charAt transformation
2015-10-11 19:59:25 +03:00
Denis Zharkov
89ded4ab1d
Implement hack to support both remove() and removeAt() in MutableList<Int>
...
Also add couple of tests about CharSequence.get
2015-10-11 19:57:22 +03:00