Alexander Udalov
a53166b732
CLI tests: rename CliBaseTest to AbstractCliTest
2016-02-17 20:51:59 +03:00
Alexander Udalov
762504d5e4
CLI tests: convert to JUnit 3
2016-02-17 20:51:58 +03:00
Alexander Udalov
f74988cbec
CLI tests: get rid of CliCommonTest
2016-02-17 20:51:58 +03:00
Alexander Udalov
3b22483fb2
CLI tests: move file existance checks to config files
2016-02-17 20:51:57 +03:00
Zalim Bashorov
c28b701ccf
JS: ignore annotation on expression when its retention is SOURCE
...
#KT-8258
2016-02-15 21:35:30 +03:00
Alexander Udalov
2f5a6ac465
Minor, add extra constant to JvmAnnotationNames, drop unneeded utility
2016-02-06 15:53:55 +05:30
Dmitry Jemerov
6d7e1c69dc
remove logic to filter perf output from compiler output
2016-01-28 16:12:56 +01:00
Ilya Gorbunov
9a41e07ac0
Use IDEA 143.1960 built with master kotlin branch.
...
Remove tweaks required to bootstrap packages.
Restore non-star imports of kotlin.text.Charsets.
2016-01-22 22:06:22 +03:00
Ilya Gorbunov
46a59b7550
Fix imports in java: temporary replace with star imports.
2016-01-22 05:54:38 +03:00
Dmitry Jemerov
ccef1ad49e
report presence of multiple different versions of kotlin-runtime on the classpath as compilation error if other compilation errors have occurred
2016-01-20 21:02:44 +01:00
Alexander Udalov
e17cd12c3c
Report error on generating calls to binary incompatible classes
2016-01-19 18:39:59 +03:00
Alexander Udalov
b587d3a78d
Use JvmMetadataVersion where appropriate instead of bytecode version
2016-01-19 18:39:59 +03:00
Alexander Udalov
04d335db15
Move version constants to corresponding BinaryVersion subclasses
2016-01-19 18:39:59 +03:00
Dmitry Jemerov
f3faa10fcc
forbid compiling code in packages with names starting with 'kotlin' unless the -Xallow-kotlin-package command line option is specified
2016-01-19 10:53:47 +01:00
Dmitry Jemerov
117a0d8b7b
compiler: cleanup 'public', property access syntax
2016-01-07 17:57:38 +01:00
Alexander Udalov
caa6cdb3f7
Remove obsolete code in KotlinBuilder, rename PackageClassUtils
2015-11-27 21:41:26 +03:00
Alexander Udalov
d472154ea7
Remove KotlinSignature from tests, spec, delete tests with errors
2015-11-27 21:22:04 +03:00
Michael Nedzelsky
a01a18cb1a
fix test data for K2JsCliTest
2015-11-24 13:30:16 +03:00
Michael Nedzelsky
c80c33efb6
add kjsm option for kotlin js command line compiler
2015-11-23 22:32:32 +03:00
Alexander Udalov
dce64c974f
Don't output error for "kotlinc -version"
...
#KT-9676 Fixed
2015-11-05 15:13:19 +03:00
Dmitry Jemerov
19af88738b
remove Jet from names of classes in tests: phase 2
2015-11-03 14:06:04 +01:00
Dmitry Petrov
8ab55813fe
Dropping package facades:
...
- clashing JVM signature diagnostics should be reported in stable order
- drop tests for clashes vs package facades
- introduce box test for class named as old package facade
- fix some testData
2015-10-19 16:03:19 +03:00
Dmitry Petrov
e7fb7483c5
Drop package facades: update compiler tests.
2015-10-19 16:03:16 +03:00
Michael Bogdanov
01864801f3
Stable accessors names
2015-10-18 17:53:29 +03:00
Dmitry Petrov
8cd624a58a
Drop package facades: code cleanup in Kotlin project.
2015-10-15 10:33:47 +03:00
Ilya Gorbunov
fa491c8f1f
Replace IoPackage legacy facade with corresponding package parts.
2015-10-07 22:36:31 +03:00
Denis Zharkov
9c4564a5a6
Get rid of deprecated annotations and modifiers in project code
2015-09-18 09:34:27 +03:00
Zalim Bashorov
1b00eb3a17
Minor: report error instead of crash with exceptions when collect JetFiles to compile and remove obsolete (wrong now) code
...
#EA-61681 Obsolete
2015-09-17 15:45:16 +03:00
Alexander Udalov
2b269b2652
Improve ABI version error reporting in the compiler
...
- only report ABI errors if there's at least one other error
- append additional helpful information to the "unresolved reference" error
2015-09-16 01:44:27 +03:00
Alexander Udalov
6cecc66d10
Improve ABI version from one number to "major.minor.patch"
2015-09-11 19:28:46 +03:00
Dmitry Petrov
5e38c99f81
Name clash test for file class vs multifile class
2015-09-09 19:08:19 +03:00
Dmitry Petrov
2519641b2b
JvmName annotation support, single-file facade case (just rename file facade class)
...
- initial implementation of JvmFileClassesProvider
- migrate some of PackagePartClassUtil usages to JvmFileClassesProvider (mostly in Codegen)
- placeholder ("no resolve") implementation for migration period and unclear cases
- tests
2015-09-08 13:02:56 +03:00
Dmitry Petrov
a47eaa2cb5
Change part class naming scheme
...
update tests depending on part class naming
2015-09-07 16:28:42 +03:00
Michael Bogdanov
35d51a8ea4
Update duplicate diagnostic
2015-09-07 16:28:40 +03:00
Alexander Udalov
636b63a8c5
Make "reflection not found" a warning, provide a quick fix
...
Reporting the warning on each "::", as ReflectionNotFoundInspection did, is not
correct anymore, because for example name/get/set on properties works perfectly
without kotlin-reflect.jar in the classpath. So instead we report the warning
on calls to functions from reflection interfaces. This is not perfect either
because it's wrong in projects with custom implementations of reflection
interfaces, but this case is so rare that the users can suppress the warning
there anyway
#KT-7176 Fixed
2015-07-10 20:10:11 +03:00
Denis Zharkov
0a19fb7df2
Make project compilable after types enhancement
2015-07-09 16:36:46 +03:00
Dmitry Jemerov
ab33e4935e
restore perf output in command line; always remove it from output in tests
2015-06-17 14:53:09 +02:00
Dmitry Jemerov
a0aba04338
rebase ate my changes
2015-06-16 18:11:19 +02:00
Michael Nedzelsky
744e760444
tests for KT-7618 Compiling Maven project targeting JS fails when no source file present
2015-06-11 22:21:25 +03:00
Michael Nedzelsky
999c83240c
JS: error message (not exception) for incompatible abi version during compilation
2015-06-10 05:37:57 +03:00
Dmitry Jemerov
a321e8eef5
performance counters infrastructure
2015-06-04 10:20:19 +02: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
Denis Zharkov
5b9aff12d0
Drop throws usages that looks redundant
...
Probably appeared after j2k-conversion
2015-04-21 08:08:31 +03:00
Pavel V. Talanov
d76f293dc9
Speed up finding kotlin binaries and java files in CLI
...
Change VirtualFileFinder api to accept ClassId and adjust usages
Introduce KotlinCoreProjectEnvironment to create special KotlinCliJavaFileManager which shares cache with CliVirtualFileFinder
Truly distinguish between java source roots and binary roots: don't search for source files in classpath and vica versa
Implement JvmDependenciesIndex
2015-04-16 16:40:28 +03:00
Alexander Udalov
94df191f86
Regenerate tests
2015-04-10 20:26:34 +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
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