Evgeny Gerashchenko
c194ced87e
Performance report is emitted only when corresponding command-line argument is provided.
2015-06-04 19:45:01 +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
Michael Bogdanov
5bca1d3c8f
Added dianostic error for non-local return on disabled inlines,
...
Render bytecode diagnostics in BytecodeToolWindow
#KT-5584 Fixed
2015-05-21 10:06:03 +03:00
Michael Bogdanov
ef4981b0ef
Report error on indirect inline cycles
2015-05-21 10:06:02 +03:00
Michael Nedzelsky
bfc641caba
JS: fix tests for -meta-info
2015-05-21 02:30:57 +03:00
Dmitry Jemerov
4bdf598bfe
compiler testdata: s/trait/interface
2015-05-12 19:43:17 +02:00
Yan Zhulanow
dbc0099e6e
Fix usage printing for compiler plugins
2015-05-08 18:19:25 +03:00
Yan Zhulanow
514bc74e9c
Support android.support.v4.Fragment classes
2015-05-08 18:19:22 +03: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
Alexander Udalov
2a3f658ea7
Minor, add missing space to error message
2015-04-20 18:57:31 +03:00
Pavel V. Talanov
818a6b5c2e
Fix various tests and test data
...
Since we now distinguish between binaries and java source roots
2015-04-16 16:40:37 +03:00
Yan Zhulanow
1f16328070
Add imports for XML widget tags, support.v4 fake package files
2015-04-03 17:37:22 +03:00
Zalim Bashorov
1b530887cd
Minor: fix testdata
2015-03-20 21:23:31 +03:00
Michael Nedzelsky
33cdf8c969
JS backend: add cli test for creating metadata and ant test for library with metadata
2015-03-18 09:39:04 +03:00
Michael Nedzelsky
3bf14518e8
JS backend: add -meta-info command line option for cli compiler
2015-03-18 09:38:53 +03:00
Zalim Bashorov
8421a15521
JS backend: report diagnostic when try to get referenece on builtin members instead of crash with Exception.
2015-03-18 08:55:56 +03:00
Zalim Bashorov
975c4ffab5
JS backend: report diagnostic for class literal(Foo::class) instead of crash with Exception.
2015-03-18 08:55:56 +03:00
Zalim Bashorov
8d6cbb671a
JS backend: report diagonstic message for unsupported element instead of throw exception.
...
#KT-6507 Fixed
2015-03-18 08:55:56 +03:00
Alexander Udalov
094fa2f92b
Report error on using reflection without kotlin-reflect.jar in classpath
...
Should be a warning because strictly speaking, the codegen doesn't need it
during the compilation. It's an error at the moment only to let all clients of
Kotlin reflection know that they must include kotlin-reflect.jar in the
classpath
2015-03-16 20:40:49 +03:00
Yan Zhulanow
b0125a3626
Fix compiler plugin cli tests with colons in .args on Windows
2015-03-16 17:32:17 +03:00
Yan Zhulanow
d5e4775bcd
Show plugin usage on invalid arguments
2015-03-13 15:46:37 +03:00
Yan Zhulanow
7d31b56ef6
Android plugin cli arguments test
2015-03-13 15:46:37 +03:00
Alexander Udalov
2c0830b017
Change synthetic accessor method names to "access$..."
...
As per discussion in https://youtrack.jetbrains.com/issue/KT-6870
2015-02-27 20:30:51 +03:00
Yan Zhulanow
6ab2dc90f8
Fix cli help tests
2015-02-26 15:25:54 +03:00
Mikhail Mutcianko
bafaf9e46c
fix cli argument tests
2015-02-26 15:25:29 +03:00
Mikhail Mutcianko
79cbfcd750
fix compiler argument tests
2015-02-26 15:25:22 +03:00
Nikolay Krasko
377209f0c3
Do not report CONFLICTING_JVM_DECLARATIONS on delegated origin element
2015-02-24 21:33:55 +03:00
Andrey Breslav
e47a156e36
KT-6810 Don't report warnings in dummy.kt
...
#KT-6810 Fixed
2015-02-21 13:51:13 +03:00
Alexey Tsvetkov
1e7de9d5d0
JS: removed cli test for js() errors
2015-02-20 16:01:26 +03:00
Alexander Udalov
7e988b04b4
Refactor compiler source root duplicate check
2015-01-28 19:58:34 +03:00
Alexander Udalov
5c9750ae6b
Remove module integration-tests, merge into compiler-tests
2015-01-03 12:28:54 +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
Alexey Tsvetkov
c3f67c54bd
JS backend: added jsCode test cases
2014-12-15 19:16:20 +03:00
Michael Nedzelsky
f8f7ea8998
JS backend: check libraries in cli compiler before translation
2014-12-12 03:04:17 +03:00
Michael Nedzelsky
729e7084fa
new ant test for kotlin javascript library support
2014-12-12 03:03:29 +03:00
Michael Nedzelsky
ecc0751221
K2JS: add cli compiler tests for libraries
2014-12-12 03:03:27 +03:00
Michael Nedzelsky
12ff5de013
K2JS: fix KT-5639 Exception in kotlin-js when directory is given instead of output file
...
#KT-5639 Fixed
2014-12-12 01:25:15 +03:00
Stanislav Erokhin
b2774a9cd0
Fix classpath test for openjdk
2014-12-02 13:47:48 +03:00
Nikolay Krasko
d6ffd22533
More tests for decompiling classes with wrong abi version
2014-11-11 17:40:26 +03:00
Nikolay Krasko
5555e28bfb
Refactoring: Modify test for incompatible ABI version
2014-11-11 17:33:13 +03:00
Zalim Bashorov
3e7b0be68d
K2JS: test that UNUSED_PARAM warnings inside native declarations and all warnings from stdlib was suppressed.
2014-11-07 16:30:52 +03:00
Zalim Bashorov
adab0445de
K2JS: introduce "no-stdlb" parameter and use stdlib from compiler by default.
2014-11-07 16:30:52 +03:00
Alexey Tsvetkov
436fc33e84
Minor testData: fixed -Xno-inline option at extraHelp.out
2014-10-03 14:23:57 +04:00
Alexander Udalov
9434114c45
Make DescriptorRenderer escape names with dollars and other characters
...
#KT-5791 Fixed
2014-09-18 10:42:48 +04:00
Zalim Bashorov
30208d5532
Minor: drop semicolon in package declaration everywhere.
2014-09-16 19:32:37 +04:00
Andrey Breslav
b8b0316d97
Reporting ACCIDENTAL_OVERRIDE on jvm signatures that have no descriptors
...
(marking them SYNTHETIC)
2014-09-10 17:35:54 +04:00
Alexander Udalov
bb54825fac
Fix incorrect test data for wrong KotlinSignature CLI test
...
Classes from the root package cannot be referenced from a non-root package
2014-09-09 20:42:36 +04:00
Evgeny Gerashchenko
4e41673b75
Added check for duplicate source paths in all compiler workflows.
2014-08-29 17:49:10 +04:00
Evgeny Gerashchenko
3226093fa6
Fixed redeclaration from incremental compilation. Added workaround for JPS bug.
2014-08-29 16:31:29 +04:00
Alexander Udalov
a83d9a7dce
CLI: introduce alias "-cp" for "-classpath"
2014-08-13 11:10:42 +04:00