Mikhael Bogdanov
a79c2bf999
Write script descriptor type to ASM_TYPE slice
...
#KT-20707 Fixed
2017-10-10 17:01:23 +02:00
Alexander Udalov
cbb6269391
REPL: do not report warnings when there are errors
...
#KT-18349 Fixed
2017-06-08 12:28:06 +03:00
Alexander Udalov
6f22baa0f6
REPL: improve "are all errors at EOF" detection
...
Also ignore whitespaces and comments that appear after the last error in
a REPL line
#KT-15172 Fixed
2017-06-08 12:26:54 +03:00
Alexander Udalov
26e3d2cf5d
Use TopLevelDeclarations analysis mode in REPL
...
#KT-12564 Fixed
2017-06-06 14:00:45 +03:00
Mikhail Zarechenskiy
47f2386212
Generate non-local destructuring declarations as properties
...
#KT-5620 Fixed
#KT-15810 Fixed
2017-05-25 16:46:05 +03:00
Alexander Udalov
18a211cb84
Add regression test for obsolete issue
...
#KT-17365
2017-05-18 13:29:02 +03:00
Ilya Chernikov
15ccd28e2e
Switch old IDE/CLI repls to the new infrastructure
...
should also fix #KT-5822
2017-05-03 18:11:45 +02:00
Mikhail Zarechenskiy
6cccad9647
Update year in license and regenerate tests
2017-01-10 12:01:17 +03:00
Zalim Bashorov
1dedb38481
Regenerate tests
2016-11-09 21:41:12 +03:00
Alexander Udalov
8ffe379c92
Use separate module analysis in CliReplAnalyzerEngine
2016-10-06 14:40:21 +03:00
Pavel V. Talanov
5d31d6d98d
REPL: call 'toString()' for returned values explicitly and correctly report exceptions
...
#KT-12389 Fixed
2016-06-23 16:12:03 +03:00
Pavel V. Talanov
8ac40d7401
Refactor Repl: use sealed class to represent line result
2016-06-23 16:12:01 +03:00
Alexander Udalov
6674412079
Rename compilerConfigurationForTests -> newConfiguration
2016-05-26 11:47:30 +03:00
Pavel V. Talanov
5058e9b4e6
Fix import resolution in Repl
...
#KT-11428 Fixed
Refactor ReplState to be a component
2016-05-24 15:41:56 +03:00
Mikhael Bogdanov
c06b51c1d1
Allow top-level local delegated properties in scripts
2016-05-13 19:11:23 +03:00
Nikolay Krasko
47c7181f2a
Extract tests-common module without any actual tests
...
The main reasoning for the module is to avoid running any compiler tests while executing run configuration that searches tests across module dependencies.
2016-04-08 17:40:38 +03:00
Nikolay Krasko
4f7257ab66
Remove dependency to idea.jar in compiler tets to continue running them with JDK 1.6
2016-04-05 00:39:46 +03:00
Alexander Udalov
2e13377d4a
J2K ReplInterpreter: prettify
2016-02-17 20:51:11 +03:00
Stanislav Erokhin
341b251e4d
Update copyright in generated tests.
2016-02-16 18:59:10 +03:00
Dmitry Jemerov
117a0d8b7b
compiler: cleanup 'public', property access syntax
2016-01-07 17:57:38 +01:00
Pavel V. Talanov
405cfa439d
Repl test: behave closer to real repl
2015-11-19 22:57:02 +03:00
Pavel V. Talanov
ad58617753
Script refactoring, codegen tests: change test data according to semantics change
...
Add some new tests for uncovered cases
2015-11-19 22:57:01 +03:00
Dmitry Jemerov
19af88738b
remove Jet from names of classes in tests: phase 2
2015-11-03 14:06:04 +01:00
Alexander Udalov
661f4efc68
Forbid callable references to members and extensions with empty LHS
...
This syntax is reserved to be likely used in the future as a shorthand for
"this::foo" where the resulting expression doesn't take the receiver as a
parameter but has "this" already bound to it
2015-10-03 04:37:04 +03:00
Dmitry Kovanikov
9bf0c8453d
[cli-repl][ide-console] Add logging of internal errors
...
Rename `jvmStatic` to `@JvmStatic`
2015-09-21 14:41:30 +03:00
Dmitry Kovanikov
42c0396308
[cli-repl] Support readLine() during repl session
2015-09-21 14:41:27 +03:00
Dmitry Kovanikov
a17363459a
[cli-repl][ide-console] Show runtime errors in IDE console
2015-09-21 14:41:19 +03:00
Dmitry Kovanikov
cb1756f5fa
[cli-repl] Error render and XML-interop with IDE console
2015-09-21 14:41:17 +03:00
Pavel V. Talanov
2896ec67ba
Support synthetic java properties in REPL
...
Use brand new iterable injection
2015-07-16 18:05:44 +03:00
Alexander Udalov
cd61f6f96b
Minor, dump bytecode in REPL test on demand
2015-07-03 15:32:18 +03:00
Ilya Gorbunov
79a5e0607d
Fix deprecated replaceAll and replaceFirst usages.
2015-05-22 16:13:53 +03:00
Alexander Udalov
94df191f86
Regenerate tests
2015-04-10 20:26:34 +03:00
Alexander Udalov
72aa3d1465
Use mock JDK in compiler tests where full JDK is not needed
...
- move some of boxWithStdlib tests under fullJdk/ directory, where they will be
compiled against the full JDK
- introduce FULL_JDK in-text directive for the reflection test as only 4 tests
out of 654 needed the full JDK
2015-04-02 21:57:48 +03:00
Denis Zharkov
a4018d9eae
Run "Add 'init' keyword in whole project" quickfix
2015-03-31 20:20:23 +03:00
Nikolay Krasko
8ea9d39e98
Do not generate long lines and simplify merge in generated tests
2015-02-24 13:15:09 +03:00
Alexander Udalov
cf0842b135
Fix initialization order in REPL
...
#KT-6843 Fixed
2015-02-22 16:12:38 +03:00
Alexander Udalov
3b81d63334
Rename jet -> kotlin in compiler-tests (except resolve)
...
Move test-related code to org.jetbrains.kotlin.test, also move some tests to
packages with better names
2015-01-12 00:24:12 +03:00