Commit Graph

2513 Commits

Author SHA1 Message Date
svtk 8ec8fa47a4 KT-1078 Problem with visibility in do-while 2012-01-20 14:52:48 +04:00
Alex Tkachman b4b1ec1bb5 Merge remote branch 'origin/master' 2012-01-20 11:05:02 +01:00
Alex Tkachman aa2baf1eff tiny diagnostics improvments 2012-01-20 11:04:48 +01:00
svtk c09806da79 KT-1066 false 'Variable cannot be initialized before declaration' 2012-01-20 14:01:31 +04:00
svtk 936a081bae KT-1075 No type check for 'in range' condition in 'when' expression 2012-01-20 12:10:34 +04:00
svtk e2189f53e1 KT-1071 import the std.io package by default (tests after KT-842) 2012-01-20 12:00:33 +04:00
svtk 7fae503a38 KT-1080 Don't use previously imported packages while resolving import references 2012-01-20 11:58:17 +04:00
Stepan Koltsov 746279ed56 diagnostics in mkdirs 2012-01-19 20:33:37 +04:00
Stepan Koltsov b360d2ada3 test for bytecode generation of kotlin code against descriptors loaded from binary classes
test is:
1. compile file A
2. compile file B with binary class A in classpath
3. execute some code from file B
2012-01-19 20:16:09 +04:00
Stepan Koltsov 8125a1003e move some tests into "compiler" subpackage 2012-01-19 20:16:05 +04:00
Stepan Koltsov b6590a3814 codegen: fix calls to global functions when loaded from java descriptors 2012-01-19 18:05:00 +04:00
Nikolay Krasko 021fb14c77 KT-1065 No completion between function name and call brackets 2012-01-19 17:13:37 +04:00
Andrey Breslav 0c95fb9fc1 Fix override resolutions when the same supertype is (indirectly) included many times, such as
class A : B, C
  class B : C
2012-01-19 16:50:20 +04:00
Nikolay Krasko 14bccd9352 Fix line separators insertion 2012-01-19 16:43:49 +04:00
Maxim Shafirov 0e13952e0e Compilation fix (API changed in IDEA core) 2012-01-19 14:30:21 +04:00
Maxim Shafirov 4dcf9eafaf Compilation fix (API changed in IDEA core) 2012-01-19 14:16:02 +04:00
Nikolay Krasko 792f2c18ee KT-1064 Override methods should be separated with line breaks 2012-01-19 13:35:04 +04:00
Alex Tkachman 560e0ad604 possible fix for broken compilation 2012-01-19 10:13:22 +01:00
Alex Tkachman 52b81a15e5 KT-998: wrong codegen for labeled continue/break 2012-01-19 00:01:46 +01:00
Alex Tkachman 9b0ff6b4d8 better location diagnostic of internal errors 2012-01-18 21:27:03 +01:00
Alex Tkachman 86a33f8b16 KT-1076 reversed ranges 2012-01-18 20:01:18 +01:00
Alex Tkachman 1a6f018454 Merge remote branch 'origin/master' 2012-01-18 18:10:52 +01:00
Alex Tkachman a529ad2ac7 KT-1054 comparison of booleans 2012-01-18 18:10:41 +01:00
unknown 16ceb446a3 Fixed completion for method calls.
Initial support of Parameter Info (Ctrl+P) feature (including named parameters reordering).
Todo list:
1. Constructors are not working now (even primary constructor).
2. Tests.
2012-01-18 21:05:30 +04:00
Alex Tkachman 01b405c86a KT-1055 wrong identityEquals codegen 2012-01-18 17:34:48 +01:00
svtk 4521a26350 Merge remote-tracking branch 'origin/master' 2012-01-18 19:29:00 +04:00
svtk cc3a7448dc KT-657 Semantic checks for when without condition 2012-01-18 19:28:39 +04:00
Nikolay Krasko dd1fd26461 KT-1053 Incorrect auto formatting of when expression 2012-01-18 19:27:41 +04:00
svtk cbcfeaa1b7 control flow construction: creation of unbound labels in when fixed 2012-01-18 14:34:28 +04:00
svtk c256bdb44f Merge remote-tracking branch 'origin/master' 2012-01-18 13:45:18 +04:00
Maxim Shafirov 3b78930b38 Don't rely on ant.jar from IDEA distribution, use ANT that runs the task 2012-01-18 13:38:04 +04:00
svtk 04b1a4937c Merge remote-tracking branch 'origin/master' 2012-01-18 13:31:52 +04:00
svtk becd713111 KT-234 Force when() expressions to have an 'else' branch
KT-973 Unreachable code
2012-01-18 13:31:42 +04:00
Nikolay Krasko 2a3d1b2b45 KT-1033 Generate implementations produces wrong code 2012-01-18 12:16:40 +04:00
Stepan Koltsov e2782e0766 make error type from error class 2012-01-18 12:11:02 +04:00
Stepan Koltsov 33aa343ba7 one more problem in codegen 2012-01-18 12:10:48 +04:00
Stepan Koltsov cfecf50698 useful asserts in codegen 2012-01-18 12:10:37 +04:00
Stepan Koltsov 2d36f30d77 fix compilation of testlib agains stdlib.jar 2012-01-18 12:10:30 +04:00
Stepan Koltsov b8496fd2f6 ReadKotlinBinaryClassTest: check reified 2012-01-18 12:08:36 +04:00
Stepan Koltsov ff74f8217b another "temporary" hack
I heard of some package merging problems, testlib declares std.test package,
and stdlib.jar has std package
2012-01-18 12:08:36 +04:00
Stepan Koltsov 6283f5d829 hacks against KT-941
http://youtrack.jetbrains.net/issue/KT-941
2012-01-18 12:08:36 +04:00
Stepan Koltsov a6bea1480f read class data: fix IntRange loading 2012-01-18 12:08:35 +04:00
Stepan Koltsov e6b859f7c0 temporary hack for jet.Iterator.hasNext property
* javabean property reading will be implemented later
* jet.Iterator will be converted to Islam
2012-01-18 12:08:35 +04:00
Stepan Koltsov df9a4c7786 allow two ext properties with same name in one package 2012-01-18 12:08:35 +04:00
Andrey Breslav 509e018954 Merge remote branch 'origin/master' 2012-01-18 12:07:12 +04:00
Andrey Breslav c5ef3602e3 KT-497 IndexOutOfBounds on correct code: a stub fix
#KT-497 In Progress
2012-01-18 12:04:57 +04:00
Stepan Koltsov e7daae8804 fix ext prop type param output of ReadKotlinClassDataTest 2012-01-18 12:04:16 +04:00
Stepan Koltsov 106846e868 ReadKotlinBinaryClassTest: nullability 2012-01-18 12:03:58 +04:00
Stepan Koltsov 6ceb6816be ReadKotlinBinaryClassTest: List<*> 2012-01-18 12:03:42 +04:00
Stepan Koltsov 0229e725ab read class data: resolve Function* types 2012-01-18 12:03:23 +04:00