Pavel V. Talanov
d2592e4a2c
Companion objects have public visibility by default
...
#KT-7114 Fixed
2015-06-02 16:23:03 +03:00
Zalim Bashorov
72c2648fc8
JS frontend: remove diagnostics about the secondary constructors are not supported
2015-05-28 10:24:47 +03:00
Alexander Udalov
45c28abfee
Keep built-in metadata for reflection interfaces
...
Reflection interfaces (interfaces in kotlin.reflect.* in core/builtins/) are
now fully considered as built-ins and can be accessed via KotlinBuiltIns. This
increases runtime size by ~20kb, but only because KotlinBuiltIns is static and
is therefore constructed only via resource loading from the compiler classpath
at the moment. As soon as it's possible to inject KotlinBuiltIns to the
particular resolution process, the metadata on JVM will be loaded via standard
annotation mechanism (kotlin.jvm.internal.KotlinClass/KotlinPackage) and wasted
runtime space will be reclaimed
2015-05-26 14:27:38 +03:00
Mikhail Glukhikh
147bca3d22
Enum deprecated syntax detection implemented and integrated into DeclarationsChecker.
...
A lot of tests was changed to refactor deprecated syntax. Six new tests were added to check deprecated syntax detection.
Diagnostic for "enum entry uses deprecated super constructor": constructor is highlighted
Diagnostic for "enum entry uses deprecated or no delimiter".
One warning removed.
2015-05-15 16:13:34 +03:00
Dmitry Jemerov
4bdf598bfe
compiler testdata: s/trait/interface
2015-05-12 19:43:17 +02:00
Dmitry Jemerov
9975bb8935
replace 'trait' keyword with 'interface' in user-visible messages and code generation tools
2015-05-12 11:49:37 +02:00
Denis Zharkov
849b8acbf8
Replace annotations with brackets in testData
...
Just in tests that changed after deprecation
2015-05-07 22:36:16 +03:00
Dmitry Jemerov
f374eec8f1
deprecating types after colon
2015-04-29 16:33:24 +02:00
Denis Zharkov
44a55e5bf6
Adjust testData to new labels syntax
2015-04-29 14:03:11 +03:00
Ilya Ryzhenkov
288e1baa87
Tests, messages and infra for deprecated symbol reporting
2015-04-24 15:44:32 +03:00
Alexey Tsvetkov
5ff5cea17a
JS: report error when js() produces empty AST
2015-03-23 16:43:49 +03:00
Zalim Bashorov
d569ea5974
JS frontend: added diagnostic about secondary constructors not supported yet.
2015-03-23 13:52:56 +03:00
Zalim Bashorov
1b530887cd
Minor: fix testdata
2015-03-20 21:23:31 +03:00
Zalim Bashorov
aaa7f6d5e4
JS frontend: added diagnostic about non-toplevel classifiers are unsupported yet.
2015-03-20 21:23:31 +03:00
Stanislav Erokhin
371908a280
Temporary added DEPRECATED_LAMBDA_SYNTAX to tests.
...
It will be fixed soon.
2015-03-18 16:06:44 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Andrey Breslav
b0422990d9
KT-6527 Wrong diagnostics when compare dynamic to null
...
#KT-6527 Fixed
2015-02-25 14:59:22 +03:00
Alexey Tsvetkov
fabcfc7b7f
JS: added js() diagnostics tests
2015-02-20 16:01:26 +03:00
Pavel V. Talanov
7b837e2631
Updata test data: txt files for diagnostics tests
2015-02-16 15:38:36 +03:00
Andrey Breslav
da639039bd
KT-6698 Bad class file when using a star-projection on a Java's recursive generic parameter
...
#KT-6698 Fixed
2015-02-02 19:52:00 +03:00
Zalim Bashorov
619854a7a3
JS frontend: additional check for nativeSetter -- check that the return type is either Unit or a supertype of the second parameter's type.
2014-12-30 19:10:38 +03:00
Zalim Bashorov
9869ae10e5
JS frontend: allow to omit body for native functions and initializer for native properties. Additionally suppress UNUSED_PARAM for new nativeX annotations too.
2014-12-29 21:37:18 +03:00
Zalim Bashorov
92984a37ea
Js frontend: prohibit default values for functions annotated as nativeIndexer.
2014-12-16 18:30:05 +03:00
Zalim Bashorov
4c3073d03e
JS frontend tests: add test cases with declare member extension functions.
2014-12-16 18:30:04 +03:00
Zalim Bashorov
2484954e2f
Frontend tests: serialize dynamic call descriptors and check them in diagnostic tests.
2014-12-16 17:48:26 +03:00
Zalim Bashorov
a6597e8926
Frontend: allow omit types in lambda parameters of dynamic call when lambda declareted inside parentheses.
2014-12-15 18:22:15 +03:00
Zalim Bashorov
59c4f55988
Frontend: allow to use the spread operator in dynamic calls.
2014-12-15 18:18:38 +03:00
Zalim Bashorov
4ac3cbc384
Frontend: allow omit types in lambda parameters of dynamic calls.
2014-12-15 18:12:53 +03:00
Svetlana Isakova
7a5124215a
Updated test data for Array<out T> vararg type
2014-12-12 23:08:28 +03:00
Andrey Breslav
d17edacb65
Discriminate calls with implicit dynamic receivers
2014-12-10 16:18:38 +03:00
Andrey Breslav
c9c16696f1
Do not fail when delegating to an (unsupported) dynamic type on the JVM
2014-12-01 20:43:46 +03:00
Andrey Breslav
e10d29a10b
JS-specific tests moved to a separate directory
2014-12-01 20:43:46 +03:00
Zalim Bashorov
31d4a8c226
JS frontend: added tests for nativeInvoke, nativeGetter, nativeSetter.
2014-12-01 15:27:38 +03:00