Svetlana Isakova
7d37df5f38
tests changes after collections mapping
2012-09-05 18:55:16 +04:00
Svetlana Isakova
7c828b9ff7
diagnostic tests changes after collections mapping
2012-09-05 18:55:16 +04:00
Alex Tkachman
a54776196a
fixed bug with compilation of this/outer. no need to check context hierarchy for superclasses except case of super call.
2012-08-31 17:42:35 +03:00
Alex Tkachman
737b794935
fix for KT-2711 wrong check on descriptor being integral range
...
method added to JetStandardLibrary to get all integral range descriptors
#KT-2711 fixed
2012-08-31 13:49:20 +03:00
Andrey Breslav
ce1320bab3
Multi-declarations supported in all flavours of for loops
...
(KT-2635 Support iteration with multiple range variable in JVM back-end)
#KT-2635 Fixed
2012-08-31 12:52:47 +04:00
Andrey Breslav
f1c4ab7188
Fix for RangeTo intrinsic for the case of LongRange
2012-08-31 12:52:46 +04:00
Andrey Breslav
e8e5d3a87d
Val-capturing tests for for-loops over arrays
2012-08-31 12:52:46 +04:00
Andrey Breslav
2a1307e040
For-loop over long range test
2012-08-31 12:52:46 +04:00
Alex Tkachman
bf892870e1
fix for multiple evaluation of expression on multi var declaration
2012-08-31 11:45:56 +03:00
Alex Tkachman
5038c906b2
fixed critical bug with receiver used in constructor, field initializer
2012-08-31 08:20:51 +03:00
Andrey Breslav
a47ab0d408
More tests for continue in for loops
2012-08-30 20:30:52 +04:00
Andrey Breslav
59724296d6
Fix continue in for loops. Tests added
2012-08-30 20:16:09 +04:00
Alex Tkachman
8a71cf7bf7
fix for KT=2702 - wrong bridges on super call
2012-08-30 15:37:15 +03:00
Kirill Berezin
b84f068c33
kt-1760 delegation to java iface:
...
- removed codegen's unnecessary lookup for a declaration
- skipped class' only supertype (if any) methods when delegating
2012-08-30 14:03:43 +04:00
Pavel V. Talanov
22be002ef4
Remove enums inheriting from enums from test data.
2012-08-29 16:00:50 +04:00
Pavel V. Talanov
ae348a0547
Nested packages visibilities in jvm-backend.
2012-08-29 15:58:29 +04:00
Pavel V. Talanov
a28d78974b
Test data minor change.
...
Remove open for enum class (should be prohibited).
2012-08-29 15:58:24 +04:00
Andrey Breslav
c0c2ca0ac2
Report errors when iterator() returns a nullable type
2012-08-24 19:49:33 +04:00
Andrey Breslav
66faa0c03a
For-loop range expression (collection) can not be null
2012-08-24 19:49:33 +04:00
Andrey Breslav
1d01e66fc8
Tests for multi-decl for-loops over arrays of primitives
2012-08-24 19:49:32 +04:00
Andrey Breslav
707408b241
For loops over arrays generated with multi-decl support
2012-08-24 19:49:32 +04:00
Andrey Breslav
d5c44c3dd8
Test data moved
2012-08-24 19:49:32 +04:00
Andrey Breslav
edbc832861
Multi-decl for loops fixed
2012-08-24 19:49:32 +04:00
Andrey Breslav
e57e61ac68
For-loop generation rewritten for the case of explicit iterator usage
...
This implementation includes multi-declarations already, but tests are coming in the next commits.
Old ForLoopgenerator renamed to IntrinsicForLoopGenerator, and will be unified with the newly introduced interface soon.
Side-effect:
KT-2668 Codegen doesn't handle member extensions in for
#KT-2668 Fixed
2012-08-24 19:49:31 +04:00
Andrey Breslav
b1ba3e1260
Using invokeFunction() instead of invokeFunctionWithNoParams() when generating in-expressions
2012-08-24 19:49:30 +04:00
Andrey Breslav
9ca49b50b8
Using invokeFunction() instead of invokeFunctionWithNoParams() when generating when() conditions
2012-08-24 19:49:30 +04:00
Svetlana Isakova
ea611cb51d
check modifiers for local declarations
2012-08-22 20:42:35 +04:00
Alex Tkachman
fb5bf2f8c6
local classes without closures
2012-08-22 18:40:37 +03:00
Andrey Breslav
0cc27c0176
Use generic invokeFunction() instead of ad-hoc one for in-range conditions in when
2012-08-22 17:07:52 +04:00
Natalia.Ukhorskaya
3d9ad3f6cb
ExpressionCodegen: take EnumEntry type from containingDeclarationDescriptor
...
JavaDescriptorResolver: pass to propertyDescriptor correct value of isObject parameter
2012-08-22 14:32:01 +04:00
Svetlana Isakova
47362bf2ac
KT-2633 Support multiple assignment in JVM Back-end
...
#KT-2633 Fixed
2012-08-21 16:32:19 +04:00
Alex Tkachman
354b61d9b5
Merge pull request #121 from goodwinnk/EA-35963
...
Test for EA-35963 (http://ea.jetbrains.com/browser/ea_problems/35963 )
2012-08-20 08:22:15 -07:00
Svetlana Isakova
f817eba7aa
removed check for 'hasNext' val in frontend
2012-08-20 16:05:16 +04:00
Nikolay Krasko
f9aea4c24c
Test for EA-35963 ( http://ea.jetbrains.com/browser/ea_problems/35963 )
2012-08-17 15:06:56 +04:00
Svetlana Isakova
d2e33c8900
tests for obsolete/fixed issues
...
#KT-1038 fixed
#KT-1127 fixed
#KT-1145 fixed
#KT-1410 fixed
#KT-1718 fixed
#KT-2286 fixed
#KT-1431 fixed
#KT-2394 fixed
2012-08-16 18:39:24 +04:00
Svetlana Isakova
96d99d19f3
generates remove method
...
throwing exception
in Kotlin class extending Iterator
2012-08-16 18:39:24 +04:00
Svetlana Isakova
df93a26839
use kotlin Iterable/Iterator
...
instead of java Iterable/Iterator
in Kotlin code in tests
2012-08-16 18:39:23 +04:00
Svetlana Isakova
e1281953e7
tests changed
...
val hasNext -> fun hasNext()
2012-08-16 18:39:23 +04:00
Alex Tkachman
17a9772fee
test for obsolete KT-1649
2012-08-16 15:48:45 +03:00
Alex Tkachman
ca615aac3d
KT-2350 fix: enums with overrides and constructor parameters
2012-08-15 20:25:35 +03:00
Alex Tkachman
813c7d0871
test for obsolete KT-1119 & proper final flag for enum class with entries overriding methods/properties
2012-08-15 16:06:06 +03:00
Alex Tkachman
31db3456ca
enum entries which overrides methods
2012-08-15 15:56:34 +03:00
Alex Tkachman
87a8e0a5dc
enum classes are never inner
2012-08-15 10:44:33 +03:00
Natalia.Ukhorskaya
98ed261eb3
Fix android build
2012-08-14 12:25:06 +04:00
Alex Tkachman
5947759684
proper compilation of enums
2012-08-13 22:37:27 +03:00
Alexander Udalov
9350369fab
Fixed codegen for single-branch if
...
#KT-2597 Fixed
#KT-2598 Fixed
2012-08-10 14:39:34 +04:00
Evgeny Gerashchenko
5d8de8fbd2
KT-2596 Can't use iterator in for-loop
...
#KT-2596 fixed
2012-08-09 19:14:31 +04:00
Evgeny Gerashchenko
1bc99ef19a
KT-2579 Rename Range.minus() to reversed and make it extension
...
#KT-2579 fixed
2012-08-09 19:14:14 +04:00
Evgeny Gerashchenko
577d83605f
Made test for KT-821 actually testing creation of ranges using constructors, but not "minus" operator.
2012-08-09 19:14:14 +04:00
Alex Tkachman
7f80deeb9a
test for obsolete KT-2246
2012-08-09 14:27:33 +03:00