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
Evgeny Gerashchenko
0124c7bb5a
KT-2583 Support *Range.EMPTY
...
#KT-2583 fixed
2012-08-09 15:13:42 +04:00
Alex Tkachman
231dda6002
test for obsolete KT-1528
2012-08-09 14:10:17 +03:00
Alex Tkachman
6af235fe2b
KT-2589 fix: putting some order on bytecode flags
2012-08-09 13:35:44 +03:00
Alexander Udalov
f5e9786ffc
fix javaClass function and property
...
#KT-2318 Fixed
#KT-2593 Fixed
2012-08-08 22:25:15 +04:00
Alexander Udalov
e5119da97a
Multiple fixes for try-catch-finally codegen
...
#KT-2259 Fixed
#KT-2577 Fixed
2012-08-08 15:35:23 +04:00
Evgeny Gerashchenko
a4031225d0
Changed usages of upto/downto in test to rangeTo and downTo, respectively.
...
#KT-2519 in progress
2012-08-08 14:48:04 +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
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