Alexander Udalov
b8328f9190
Rename MessageRenderer constants
2014-12-29 18:17:21 +03:00
Alexander Udalov
3bde619ca3
Add test for obsolete issue
...
#KT-4434 Obsolete
2014-12-29 18:00:17 +03:00
Alexander Udalov
91754c0c4b
Move test files to test data root
2014-12-29 18:00:16 +03:00
Andrey Breslav
42113b5e58
Filtering error types and accounting for platform types when computing intersections
...
KT-6508 Build impossible because of NoSuchElementException
#KT-6508 Fixed
2014-12-29 14:13:14 +03:00
Svetlana Isakova
bc060dd145
Moved call resolver extensions to subpackage
2014-12-27 00:55:43 +03:00
Svetlana Isakova
37abdc2ca6
Rewritten captured type approximation test
...
Approximation bounds may be non-trivial both (in this case we ignore 'in' projection);
no need for special interpretation of 'Nothing?'
2014-12-27 00:55:28 +03:00
Svetlana Isakova
74a08c9747
Added tests for simple approximation (of Captured(out/in Int))
2014-12-27 00:55:26 +03:00
Svetlana Isakova
9d09a4d1b4
Fixed message for TYPE_INFERENCE_EXPECTED_TYPE_MISMATCH error
2014-12-27 00:55:26 +03:00
Svetlana Isakova
7b09e85717
Added check for incompatible variance modifiers and repeated modifiers
2014-12-27 00:55:25 +03:00
Svetlana Isakova
d2becce1ac
Make vararg argument of java annotation have 'out' type
2014-12-27 00:55:23 +03:00
Svetlana Isakova
62c8a6f79a
Fixed resolve for callable references
...
functions and properties have the same priority
2014-12-27 00:55:22 +03:00
Alexander Udalov
11dfdfc123
Minor, add test for obsolete issue
...
#KT-4228 Obsolete
2014-12-26 22:52:39 +03:00
Valentin Kipyatkov
18a536c846
Added test for correct package names resolve inside local classes
2014-12-26 16:23:19 +03:00
Michael Nedzelsky
eded72d633
fix KT-6192: VerifyError when using spreads with primitive arrays
...
#KT-6192 Fixed
2014-12-25 22:07:24 +03:00
Andrey Breslav
89e1588e13
LIGHT_CLASSES mode for scripts
...
- Do not generate constructor bodies
- Do not generate script class when package contents are requested
- NOT DONE: generate script class when its name is requested
2014-12-25 22:02:23 +03:00
Andrey Breslav
292cb9baa9
Resolve dangling annotations in files and class bodies
2014-12-25 19:42:38 +03:00
Valentin Kipyatkov
37e40267fe
KT-6521 Expand selection works wrong on a call inside for loop's range
...
KT-6518 Extend selection not working for expression in if
#KT-6521 Fixed
#KT-6518 Fixed
2014-12-24 14:17:43 +03:00
Michael Bogdanov
9e864f3c36
Fix java visibility publicity
...
#KT-6478 Fixed
2014-12-23 16:28:44 +03:00
Andrey Breslav
6728a384e4
KT-4881 Annotation resolved to package should be compile-time error
...
#KT-4881 Fixed
2014-12-23 15:18:47 +03:00
Andrey Breslav
8ff5cf62cc
Generate annotations from descriptors, not PSI
2014-12-23 15:18:46 +03:00
Natalia Ukhorskaya
e35b960eb5
Stepping: do not write line numbers for call arguments
...
#KT-3080 Fixed
2014-12-23 14:40:26 +03:00
Natalia Ukhorskaya
c66af565f6
Make LineNumberTest auto-generated
2014-12-23 14:40:25 +03:00
Svetlana Isakova
6489ff2cb6
Ignore constraint from implicit 'in Nothing'
...
From Array<T> <: Array<out Int> we may generate T >: Nothing (implicit) and T <: Int (explicit).
Without ignoring we'll infer 'Nothing' for T too often
2014-12-22 12:04:42 +03:00
Pavel V. Talanov
56e3983dc9
Move and rename JavaElementFinderMultiFileTest
...
It is now relevant for IDE only
2014-12-21 14:23:30 +03:00
Andrey Breslav
633a4aa8f2
Self-types marked as unsupported
2014-12-19 20:36:16 +03:00
Denis Zharkov
04e560bc74
Get reified signature from JetTypeMapper
...
#KT-6485 Fixed
2014-12-18 21:12:52 +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
Andrey Breslav
120c344f11
Fix access to private static native functions
2014-12-16 16:23:35 +03:00
Andrey Breslav
6916c0f5cc
Test for native property accessors
2014-12-16 16:23:34 +03:00
Andrey Breslav
e591ddc4d3
Report syntax errors in box tests
2014-12-16 16:23:34 +03:00
Andrey Breslav
6596c6d943
Support native top-level functions
2014-12-16 16:23:33 +03:00
Andrey Breslav
56216c4bd8
Test for function with default parameters marked native
2014-12-16 16:23:32 +03:00
Andrey Breslav
229c7ad537
Report an error on native declarations marked ilnine
2014-12-16 16:23:31 +03:00
Andrey Breslav
5187694b22
Test for overriding with a native function
2014-12-16 16:23:31 +03:00
Andrey Breslav
3a8ca2608d
Report error on native members of traits
2014-12-16 16:23:30 +03:00
Andrey Breslav
a94a1f8a6f
Report error on native declaration with a body
2014-12-16 16:23:30 +03:00
Andrey Breslav
d4cf789b53
Report error on native abstract declarations
2014-12-16 16:23:30 +03:00
Andrey Breslav
76e2ae2005
Do not complain about missing bodies on native functions
2014-12-16 16:23:29 +03:00
Andrey Breslav
19d0ad7e10
Use newer dex to verify Kotlin bytecode in tests
2014-12-16 16:23:29 +03:00
Andrey Breslav
d20651b881
Support native on [platformStatic] functions
2014-12-16 15:17:33 +03:00
Andrey Breslav
cba6652c05
Simplistic support for native flag
2014-12-16 15:17:33 +03:00
Svetlana Isakova
bda5bab057
Captured type might be substituted in an opposite projection
...
out Captured (in Int) = out Int
in Captured (out Int) = in Int
2014-12-16 14:41:56 +03:00
Evgeny Gerashchenko
6c15472bf9
Minor. Regenerated test.
2014-12-15 19:38:11 +03:00
Alexey Tsvetkov
669cbb203b
Reload rendrer when application changes (for tests)
2014-12-15 19:16:22 +03:00
Alexey Tsvetkov
c3f67c54bd
JS backend: added jsCode test cases
2014-12-15 19:16:20 +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
4dff9cf5fc
Frontend: fixed explicit receiver kind for dynamic call with implicit dispatch receiver.
...
Additionally added tests for other cases.
2014-12-15 18:12:04 +03:00
Svetlana Isakova
1f6f607f40
Type variable with non-trivial upper bound cannot capture 'in' projection
2014-12-12 23:08:29 +03:00
Svetlana Isakova
0149e8048c
Capture notnullable type if type variable is nullable
2014-12-12 23:08:29 +03:00
Svetlana Isakova
da8fdbd23e
More tests for varargs updated
2014-12-12 23:08:28 +03:00