Alex Tkachman
0588d51700
getting rid of default imports for scripts
2012-08-06 18:18:17 +03:00
Svetlana Isakova
4b77e9b83a
tests for obsolete tasks
...
#KT-2445 fixed
#KT-2459 fixed
2012-08-06 18:18:27 +04:00
Svetlana Isakova
f730c1357c
KT-2484 Type inferred for function literal is (...) -> Int instead of (...) -> Unit, when function literal parameter is explicit
...
#KT-2484 fixed
2012-08-06 18:18:26 +04:00
Svetlana Isakova
679a678e7c
choose the most specific candidate after type inference
2012-08-06 18:18:26 +04:00
Svetlana Isakova
036ce3c2e1
KT-2514 Type inference fails when using extension function literal
...
(check for bounds when inference is not complete added)
#KT-2514 fixed
2012-08-06 18:18:26 +04:00
Svetlana Isakova
492d4da56d
added variance handling to constraint system
2012-08-06 18:18:26 +04:00
Alexander Udalov
04b2477784
KT-2270 VerifyError when default value of constructor parameter is previous parameter
...
#KT-2270 Fixed
2012-08-06 16:32:36 +04:00
Alex Tkachman
7f456ede1a
KT-2149 binary and text compilation in one pass
2012-08-06 12:36:32 +03:00
Alex Tkachman
68e436610c
KT-1535 test for obsolete issue
2012-08-06 10:55:37 +03:00
Alex Tkachman
532c5b791c
KT-454 test for obsolete issue
2012-08-06 10:47:51 +03:00
Alex Tkachman
eaddf5db2d
KT-2480 test for obsolete issue
2012-08-06 10:42:23 +03:00
Alex Tkachman
3f4a197184
KT-2417 fix: proper handling of !in
2012-08-06 10:33:27 +03:00
Alex Tkachman
59d58648bd
KT-2275 fix: wrong coercion between nullable primitives
2012-08-06 09:25:20 +03:00
Alex Tkachman
2d63f6f970
KT-2271 fix: default param value refering another param
2012-08-06 08:28:38 +03:00
Alex Tkachman
9819095451
KT-1739: test for obsolete issue
2012-08-04 22:58:33 +03:00
Alex Tkachman
fcab204459
KT-2210: Array<Array<T>> type mapping
2012-08-04 22:52:02 +03:00
Alex Tkachman
4e0e7fb943
KT-1892: initializers for extension properties
2012-08-04 22:07:21 +03:00
Alex Tkachman
186807a6d7
KT-1779: test for obsolete issue
2012-08-04 21:41:25 +03:00
Alex Tkachman
bf7bf194e6
KT-1733 test for obsolete issue
2012-08-04 21:29:28 +03:00
Alex Tkachman
454f0aaa15
KT-1936 codegen tests for issue which in fact frontend one
2012-08-04 21:20:28 +03:00
Alex Tkachman
c4ff8ae452
KT-1846 proper visibility for constructor parameters properties
2012-08-04 20:13:48 +03:00
Alex Tkachman
0ecb02cc25
KT-2260 test for non reproducable (probably obsolete) issue
2012-08-04 19:23:41 +03:00
Alex Tkachman
3ca1cbf5a0
KT-1845 test for obsolete issue
2012-08-04 19:17:36 +03:00
Alex Tkachman
e1e8c65a71
KT-2257 fix. private namespace visibility becomes protected in java land
2012-08-04 18:58:45 +03:00
Alex Tkachman
e848e5502b
KT-2291: test for obsolete issue
2012-08-04 16:46:27 +03:00
Alex Tkachman
34a0b0dcd4
KT-2334 partly fix: boolean to object coercion
2012-08-04 12:46:49 +03:00
Alex Tkachman
301b55788e
KT-2269 fix: hashCode & equals for primitives
2012-08-04 08:55:38 +03:00
Alex Tkachman
bcec8b7c36
KT-2331 fix: proper dealing with privite property setters
2012-08-04 08:10:38 +03:00
Alex Tkachman
e8debde256
test for unreproducable KT-2288
2012-08-03 12:03:36 +03:00
Alex Tkachman
0e4a8660fd
KT-2416 fix contains for ranges with primitive parameters
2012-08-03 09:15:53 +03:00
Alex Tkachman
8ba9e9f51b
even more exact test for KT-2509
2012-08-03 08:08:03 +03:00
Alex Tkachman
4f385e89d3
test for unreproducable KT-2509
2012-08-03 08:01:25 +03:00
Alex Tkachman
abee22ccca
KT2482 fix - empty if codegen
2012-08-03 07:53:12 +03:00
Alex Tkachman
2df30416cd
KT-2485 fix - coercion boolean to Any? etc.
2012-08-03 07:00:25 +03:00
Alex Tkachman
d6e614a2d4
KT-2566 fix - accessors naming
2012-08-02 19:07:55 +03:00
Alex Tkachman
b52b92cd31
one more test for scripts
2012-08-02 09:31:32 +03:00
Alex Tkachman
29054586d3
default imports added to script definitions
2012-08-01 23:05:56 +03:00
Alexander Udalov
a85f46816e
KT-937 When loading array types from Java project them so that they are covariant
...
#KT-937 Fixed
2012-08-01 21:27:57 +04:00
Svetlana Isakova
b5229b8b3d
tests for type inference tasks added
...
#KT-742 fixed
#KT-832 fixed
#KT-943 fixed
2012-08-01 17:03:53 +04:00
Svetlana Isakova
4e0a9f2af6
type inference errors improvement
...
if constraint system without expected type was successful,
expected type mismatch error should be generated (instead of conflicting substitutions error)
#KT-731 fixed
2012-08-01 17:03:52 +04:00
Pavel V. Talanov
d45145b3a7
Use first text range for diagnostics with multiple ranges.
...
Move TEXT_RANGE_COMPARATOR to DiagnosticUtils.
2012-08-01 16:26:13 +04:00
Pavel V. Talanov
714aa04924
KT-2524: Standalone compiler prints diagnostics in random order.
...
#KT-2524 Fixed
2012-08-01 16:26:10 +04:00
Alex Tkachman
e134969896
making script classes useful/accessable for the rest of the world
2012-08-01 09:58:01 +03:00
Alexander Udalov
dcd5cad427
KT-2280 Recursive function declared in function results in VerifyError
...
#KT-2280 Fixed
A closure's constructor should not take an instance of itself as an
argument, because it would require caller to pass yet uninitialized
value. Instead it should initialize a corresponding field with 'this'
2012-07-31 19:38:14 +04:00
Maxim Manuylov
1f3aa6699c
fix tests
2012-07-31 17:36:20 +04:00
Evgeny Gerashchenko
72c39dc903
Renamed doDoMain -> doMainNoExit.
2012-07-31 16:45:13 +04:00
Maxim Manuylov
a8cd11f0f9
more tests for compiler
2012-07-31 16:43:56 +04:00
Evgeny Gerashchenko
9a5fc78b85
Removed factory methods from JetCoreEnvironment since they only invoke constuctor.
2012-07-31 16:33:45 +04:00
Evgeny Gerashchenko
2727aa7da4
Gor rid of K2JVMCompileEnvironmentConfiguration and CompileEnvironmentConfiguration. Using JetCoreEnvironment instead of K2JVMCompileEnvironmentConfiguration.
2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko
940c09fc8a
Passing message collector via CompilerConfiguration.
2012-07-31 16:33:44 +04:00