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
6d9529e826
KT-948 Make type inference work with sure()/!!
...
!! part fixed
2012-08-01 17:03:52 +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
Svetlana Isakova
077f0084bd
test for kt-702 added
...
#KT-702 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
926e01be9c
decrease recursion depth to fix failing codegen test on Android
2012-07-31 20:45:06 +04: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
95c9c11d8d
fix test data
2012-07-31 16:43:58 +04:00
Maxim Manuylov
a8cd11f0f9
more tests for compiler
2012-07-31 16:43:56 +04:00
Alexander Udalov
7609d0de8c
testcase for EA-37609
2012-07-30 20:58:42 +04:00
Alexander Udalov
a286c475e4
test for KT-1939
...
#KT-1939 fixed
2012-07-30 19:20:04 +04:00
Alexander Udalov
cb9c18b7ad
KT-2498 Bridge method is not generated for method when generic parameters are substituted in superclass
...
#KT-2498 Fixed
generateBridgeIfNeeded() now works as follows: for a given method, find
which declared methods does this method override via breadth-first search.
For each such declared method, generate a bridge if and only if its
signature is different. Keep different methods' signatures in a set to
avoid duplicated bridge signatures.
2012-07-30 18:27:01 +04:00
Alex Tkachman
4685679eaf
Merge remote branch 'origin/master'
2012-07-30 13:25:19 +03:00
Alex Tkachman
a98cd7aa0f
script renamed
2012-07-30 13:24:59 +03:00
Alexander Udalov
b55ef01e54
KT-2382 Placing final modifier to overriden method in trait produces runtime exception
...
#KT-2382 Fixed
2012-07-30 13:31:11 +04:00
Alex Tkachman
c14a0b3c84
refactoring of script definition api
2012-07-30 09:26:30 +03:00
Alex Tkachman
7c2d394412
properr names for scripts
2012-07-29 23:58:45 +03:00
Alex Tkachman
f8391619a5
configurable script languages
2012-07-29 21:32:53 +03:00
Alex Tkachman
b8bfde3102
in-memory compilation of standalone script
2012-07-28 20:32:18 +03:00
Alex Tkachman
0b327d29bc
fix KT-2481: no bridge for supercall
2012-07-28 14:17:42 +03:00
Alex Tkachman
eaee4e9cc7
Merge pull request #112 from udalov/kt2541
...
KT-2541 VerifyError on substituting type after inheritance from trait
2012-07-27 22:29:02 -07:00
Andrey Breslav
c02e54678e
Descriptors with error types can override each other
2012-07-27 20:16:57 +04:00
Andrey Breslav
f78d26c89a
java.lang.Object methods included into tests' output
2012-07-27 20:16:57 +04:00
Alexander Udalov
fe1e6fc0d3
KT-2541 VerifyError on substituting type after inheritance from trait
...
#KT-2541 Fixed
2012-07-27 19:43:14 +04:00
Andrey Breslav
2923c1f32e
Simple LR Tests don't need to compare all the packages in the world
2012-07-26 17:41:46 +04:00
Pavel V. Talanov
fa1c471d92
Partial fix for KT-470: Remove duplicating errors on the same element.
...
Redeclarations for top-level properties still get two REDECLARATION diagnostics. (In overload resolver and declaration resolver)
Also added test for redeclaring extension properties.
Also remove useless null check.
2012-07-26 13:11:38 +04:00
Pavel V. Talanov
cd1ca92f74
KT-53: Allow generic parameter passing for properties.
...
Obsolete issue.
#KT-53 Fixed
2012-07-25 14:48:40 +04:00
Pavel V. Talanov
fd78340897
KT-310: Tell the user when something is a property and not a function.
...
#KT-310 Fixed
2012-07-25 14:00:03 +04:00
Pavel V. Talanov
84217393f6
KT-304: Resolve supertype reference to class anyway.
...
#KT-304 Fixed
2012-07-25 14:00:02 +04:00
Pavel V. Talanov
22af8f7296
KT-304: Resolve supertype reference to class anyway.
...
#KT-304 Fixed
2012-07-25 14:00:01 +04:00
Andrey Breslav
ba9bf15bc3
Test data updated to meet cli-parser-1.1 output
2012-07-25 12:40:26 +04:00
Andrey Breslav
29bc36b69c
Merge pull request #109 from udalov/kt2438
...
KT-2438 Prohibit inner classes with the same name
2012-07-24 07:51:35 -07:00
Alexander Udalov
4712dd759c
KT-2438 Prohibit inner classes with the same name
...
Rewrite checkClassObjectInnerClassNames() to also
check for name clashes between inner classes of a
single class
#KT-2438 Fixed
2012-07-24 16:25:17 +04:00
Pavel V. Talanov
b216bbb844
KT-619 Type inference fails
...
#KT-619 Fixed
2012-07-24 15:53:39 +04:00
Alexander Udalov
6eb4cf5aa5
KT-2423 Jump after condition check in inner loop is to the wrong label
...
#KT-2423 Fixed
2012-07-23 20:11:27 +04:00
Andrey Breslav
69e1b8d407
More test data for LR
2012-07-23 19:38:27 +04:00
Andrey Breslav
05ad042710
LR: Newly supported test data
2012-07-23 19:38:27 +04:00
Andrey Breslav
1eefbd4c75
Test data updated in accrdance with recent logic chnages in OverrideResolver
2012-07-23 19:38:26 +04:00
Andrey Breslav
46737dfb11
Don't create constructors for traits
2012-07-23 16:41:23 +04:00
Andrey Breslav
ea7e7f01fb
Qualified "this" supported by lazy resolve:
...
- Appropriate scope methods implemented
- Class declarations recorded in the binding trace
2012-07-23 13:43:35 +04:00
Evgeny Gerashchenko
a9564e7580
KT-2414 for (x in 0 downto 0) makes no steps
...
#KT-2414 fixed
2012-07-21 20:34:25 +04:00
Svetlana Isakova
18b6b53288
Merge pull request #106 from udalov/kt2457-fe
...
Senseless null in when (KT-2457 frontend part)
2012-07-20 09:25:35 -07:00
Alexander Udalov
0c0232f42b
Senseless null in when (KT-2457 frontend part)
2012-07-20 19:51:48 +04:00