Denis Zharkov
1731cb8b40
Make jvmSignature optional in WriteSignatureTest
2015-12-01 08:20:58 +03:00
Ilya Gorbunov
ea60ab74a7
Replace deprecated toMap usages with toMapBy
2015-12-01 01:18:44 +03:00
Andrey Breslav
45db5db7e8
Forbid prefixes and suffixes for numeric literals
2015-11-30 19:36:33 +03:00
Andrey Breslav
8544a5ab5f
Remove "This" keyword
2015-11-30 19:36:33 +03:00
Andrey Breslav
aca355acdc
'...' reserved as a token
...
KT-9708 Ambiguous syntax for Double ranges: `.1...2` (triple dot)
#KT-9708 Fixed
2015-11-30 19:36:33 +03:00
Alexander Udalov
745809c666
Rename TestlibTest -> StdlibTest
2015-11-30 19:19:20 +03:00
Mikhail Glukhikh
fe04cc513b
Original type is taken into account when intersecting possible types in resolve #KT-10232 Fixed
2015-11-30 19:09:44 +03:00
Alexander Udalov
db2521ee67
Rework TestlibTest, use JUnit console runner instead of manual suite
...
The problem with the manually created suite was that it was created in setUp()
and so a lot of the hard work (compilation, test case lookup) was happening in
setUp(). If any exception is thrown in setUp(), tearDown() is not called,
leaving the application (~9000+ subsequent tests) in the inconsistent state.
Support JUnit 4 tests via JUnit4TestAdapter. Previously only a small number of
test classes were actually run because this test was looking only for JUnit 3
testcases.
Delete FilesTest#relativePath because it was testing a deprecated function
and was failing if run from the project root
2015-11-30 18:58:00 +03:00
Michael Bogdanov
df1641ff9b
Fix for KT-10047: java.lang.VerifyError: Bad return type
...
#KT-10047 Fixed
2015-11-30 18:44:13 +03:00
Pavel V. Talanov
d6c7029c77
Compiler, Scripts: strip stacktrace when reporting exception on script execution
2015-11-30 18:21:04 +03:00
Pavel V. Talanov
337701670c
Refactor script registering in frontend and jvm backend
2015-11-30 18:21:02 +03:00
Pavel V. Talanov
6520e9aed6
Refactor: AnalyzerScriptParameter -> ScriptParameter
2015-11-30 18:21:02 +03:00
Pavel V. Talanov
0d10f0fcf9
Minor: Remove direct usages of ScriptNameUtil
2015-11-30 18:21:01 +03:00
Pavel V. Talanov
7956ebe46c
Move script related stuff into a separate package
2015-11-30 18:21:00 +03:00
Pavel V. Talanov
89081d487f
J2K KotlinScriptDefinition and simplify
2015-11-30 18:21:00 +03:00
Michael Bogdanov
1bf521c645
Don't generate accessors for @JvmField properties in primary constructor
2015-11-30 16:24:05 +03:00
Mikhail Glukhikh
c6be69a483
No more reified types for catch parameter #KT-9742 Fixed
2015-11-30 15:24:24 +03:00
Natalia Ukhorskaya
0d984ce8e2
Refactor AbstractLineNumberTest using assertEqualsToFile
2015-11-30 12:25:50 +03:00
Alexander Udalov
7b3b157707
Remove PropertyMetadata from project and bytecode, migrate code to KProperty
2015-11-27 23:34:34 +03:00
Alexander Udalov
caa6cdb3f7
Remove obsolete code in KotlinBuilder, rename PackageClassUtils
2015-11-27 21:41:26 +03:00
Alexander Udalov
8594cfca46
Remove kotlin.jvm.internal.KotlinPackage and corresponding code
2015-11-27 21:22:04 +03:00
Alexander Udalov
d472154ea7
Remove KotlinSignature from tests, spec, delete tests with errors
2015-11-27 21:22:04 +03:00
Ilya Chernikov
c76bec51a0
Moving daemon files, renaming namespaces, modules and jar
2015-11-27 19:04:04 +01:00
Ilya Chernikov
9869fc4305
fixes after review
2015-11-27 19:04:03 +01:00
Ilya Chernikov
231949803a
fixing tests
2015-11-27 19:04:02 +01:00
Ilya Chernikov
336f6de2ee
Passing a log file name in logger-compatible format on Windows in tests, fixes problems with daemon tests on Windows
2015-11-27 19:04:01 +01:00
Ilya Chernikov
d3797619af
Some basic daemon lifetime tests
2015-11-27 19:04:01 +01:00
Ilya Chernikov
2612ce56b4
Implementing new logic of choosing the daemon, startup and shutdown, some related refactorings and fixes
2015-11-27 19:03:58 +01:00
Ilya Chernikov
375679677c
Implementation of the new daemon management without inter-daemon elections and with few other simplifications
2015-11-27 19:03:58 +01:00
Mikhail Glukhikh
8788d8e2d5
Call chains: receiver data flow info is dropped for extensions with nullable receiver #KT-10056 Fixed
2015-11-27 20:23:25 +03:00
Mikhail Glukhikh
ea4f167091
Calls to non-@JvmStatic protected members of companion objects from subclasses are now errors (unsupported yet)
2015-11-27 15:58:38 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Yan Zhulanow
87799e9b6b
Fix "operator modifier required" errors in project
2015-11-27 15:51:11 +03:00
Yan Zhulanow
46ac3571d5
Fix "infix modifier required" errors in project
2015-11-27 15:51:11 +03:00
Michael Nedzelsky
2fa34ae170
KT-9883 prohibit using spread operator for nullable value
...
#KT-9883 Fixed
2015-11-26 19:42:34 +03:00
Stanislav Erokhin
63fa71606f
Create new Tower Resolve
2015-11-26 16:21:49 +03:00
Stanislav Erokhin
67abdd755f
Created kind in LexicalScope
2015-11-26 15:40:00 +03:00
Michael Bogdanov
2d3d526ccd
Fix for KT-10110: ClassReader$BadClassFile undeclared type variable: E
...
#KT-10110 Fixed
2015-11-26 13:29:30 +03:00
Dmitry Petrov
9ccb1fd506
KT-9601, KT-10103:
...
Chose maximally specific function in callable reference
#KT-9601 Fixed
#KT-10103 Fixed
2015-11-26 12:52:12 +03:00
Nikolay Krasko
29a9ba64ca
Move creating sink for extra diagnostics into generation state to take responsibility for correct diagnostics suppression
2015-11-26 00:24:38 +03:00
Nikolay Krasko
652eeca872
Allow suppress additional diagnostics for JVM target
...
Suppression doesn't work without resolved annotation in binding context.
2015-11-26 00:24:38 +03:00
Stanislav Erokhin
28226906da
Minor. removed usages ExpressionReceiverImp
2015-11-25 20:53:40 +03:00
Stanislav Erokhin
f0cefd5583
Create hacks for magic annotations NoInfer, OnlyInputTypes and LowPriorityInOverloadResolution.
2015-11-25 20:53:39 +03:00
Mikhail Glukhikh
a53ad098d6
Codegen test for smart cast to Nothing?
2015-11-25 18:26:25 +03:00
Mikhail Glukhikh
89e56093a2
Limit "always null" scope: only for !!, is and dot; senseless comparison rolled back; "smart constant" information for nulls #KT-10029 Fixed
2015-11-25 18:26:08 +03:00
Dmitry Petrov
db42941586
Allow annotation constructor calls
...
in default parameter value expressions of anonymous classes
(if it is not a compile-time constant, it will be reported separately).
#KT-10136 Fixed
2015-11-25 18:06:08 +03:00
Dmitry Petrov
da90c21284
Warn about comma-separated conditions in when without argument.
...
See KT-5143.
2015-11-25 15:39:23 +03:00
Mikhail Glukhikh
b9e9c47b28
Using of enum entries as types is now forbidden #KT-5401 Fixed
2015-11-25 13:33:16 +03:00
Michael Bogdanov
3da463be27
Fix for KT-10137: Internal error: couldn't inline method call on lambda taking extension function parameter
...
#KT-10137 Fixed
2015-11-24 16:32:06 +03:00