Stepan Koltsov
690efbb39a
KT-552 For variable unresolved if loop body is not block
...
===
for(index in 0..9)
x[index] = index.byt // <-- index is inresolved here
===
2011-11-28 17:06:27 +04:00
Alex Tkachman
b9f39b00c0
KotlinCompiler and tests aware on standard library
2011-11-28 14:36:57 +02:00
Nikolay Krasko
517947288c
Merge branch 'master' of git+ssh://git.labs.intellij.net/jet into KT-337
2011-11-28 15:13:31 +04:00
svtk
27293562ae
Merge remote-tracking branch 'origin/master'
2011-11-28 13:15:35 +04:00
svtk
ecb3db0912
KT-610 Distinguish errors 'unused variable' and 'variable is assigned but never accessed'
2011-11-28 13:15:03 +04:00
Nikolay Krasko
09de9bef20
KT-337 Can't break a line before a dot
2011-11-28 12:59:16 +04:00
Alex Tkachman
554aab83be
npe() renamed to sure()
2011-11-26 10:01:57 +02:00
Stepan Koltsov
0bd0932282
remove unintentional variable redeclarations
2011-11-25 21:39:28 +04:00
Andrey Breslav
87dbeac643
Merge remote branch 'origin/master'
2011-11-25 18:32:24 +03:00
Andrey Breslav
a7eada71ce
By Pavel Talanov: KT-618 overloaded assignment operators should not allow for returning types other than Unit of Subtypes or the type where they are defined
2011-11-25 18:32:03 +03:00
Stepan Koltsov
a52d9a28cc
merge regression folders
2011-11-25 18:31:28 +04:00
Stepan Koltsov
7bc2736568
merge FullJetPsiCheckerTest into QuickJetPsiCheckerTest
2011-11-25 18:22:48 +04:00
Nikolay Krasko
778e8fd21b
Merge branch 'master' of git+ssh://git.labs.intellij.net/jet
2011-11-25 17:43:09 +04:00
Nikolay Krasko
0c758902ef
KT-621 Remove .foo() pattern matching from when (Some tests were rewritten)
2011-11-25 17:39:16 +04:00
Stepan Koltsov
a70487b055
fix UnusedVariables.jet test
...
(unintentional variable redeclaration)
2011-11-25 17:35:41 +04:00
svtk
c3447c3576
refactoring & KT-607 Val reassignment is not marked as an error
2011-11-25 15:14:38 +04:00
Alex Tkachman
21a0d1f85c
KT-613 verify error ++/-- in presence of this|receiver
2011-11-25 10:32:17 +02:00
Alex Tkachman
b990792917
Merge remote branch 'origin/master'
2011-11-24 22:33:13 +02:00
Stepan Koltsov
7020d6e15c
more check for casts
...
KT-445 (Don't allow deep instanceof for erased parameters) and more
see new tests in compiler/testData/checkerWithErrorTypes/full/cast
2011-11-24 23:52:10 +04:00
Andrey Breslav
aba6b3d6b9
KT-549 type inference failed
...
KT-580 Type inference failed
KT-600 Problem with 'sure' extension function type inference
KT-571 Type inference failed
2011-11-24 22:56:14 +03:00
Alex Tkachman
fd9eadb729
KT-602: Array<T> method instead of default constructor parameter
2011-11-24 15:34:08 +02:00
svtk
a9138eebc6
test for obsolete kt302
2011-11-24 16:10:23 +04:00
svtk
63304cc2cf
Merge remote-tracking branch 'origin/master'
2011-11-24 16:02:44 +04:00
Andrey Breslav
aa007d415d
Moved to full, since the test uses JDK
2011-11-24 15:31:21 +03:00
svtk
a7bb30a18c
"Unused value" error added to existed tests
2011-11-24 15:59:44 +04:00
Stepan Koltsov
a79202b7e7
Temporarily revert "more check for casts"
...
(because commit broke seveal tests)
This reverts commit 5d2dfcd48f .
2011-11-24 15:24:10 +04:00
Stepan Koltsov
dca64c8ba9
Revert "+-JDK and -NOSTDLIB options"
...
This reverts commit 8222011874 .
+- JDK will be restored in next commit
removal of -STDLIB was requested by Andrey Breslav
2011-11-24 15:18:37 +04:00
Andrey Breslav
9a25b1a843
Merge remote branch 'origin/master'
2011-11-23 20:27:51 +03:00
Andrey Breslav
9cb0cc9fa6
KT-394 Make class object members visible inside the owning class
...
KT-588 Unresolved static method
2011-11-23 20:27:38 +03:00
Stepan Koltsov
5d2dfcd48f
more check for casts
...
KT-445 (Don't allow deep instanceof for erased parameters) and more
see new tests in compiler/testData/checkerWithErrorTypes/full/cast
2011-11-23 18:15:37 +04:00
Stepan Koltsov
8222011874
+-JDK and -NOSTDLIB options
...
FullJetPsiCheckerTest has -JDK option
QuickJetPsiCheckerTest has +JDK option
FullJetPsiCheckerTest = QuickJetPsiCheckerTest with +JDK
QuickJetPsiCheckerTest = FullJetPsiCheckerTest with -JDK
2011-11-23 17:08:47 +04:00
Stepan Koltsov
e33af7f729
KT-328 Local function in function literals cause exceptions
...
===
fun bar() = {
bar()
}
===
2011-11-23 16:40:50 +04:00
Alex Tkachman
ba700ebdbe
test for unreproducable KT-528
2011-11-23 12:19:43 +02:00
Alex Tkachman
b8f942857b
KT-594 Array.get/set intrinsic
2011-11-23 11:56:47 +02:00
Alex Tkachman
8c842a6d5c
KT-529 wrong naming of anonimous classes
2011-11-23 11:20:33 +02:00
Alex Tkachman
1c6c5d2bdc
test for unreproducable kt533
2011-11-23 10:14:13 +02:00
Alex Tkachman
cb37f7b56f
ability to test stdlib
2011-11-23 09:56:20 +02:00
svtk
4bf3a61621
KT-575 Cannot ++ a class object member
2011-11-22 18:05:50 +04:00
Stepan Koltsov
91cb701956
KT-526 Unresolved reference for inner static class
...
===
namespace demo
class Foo {
class object {
class Bar { }
}
}
class User {
fun main() : Unit {
var boo : Foo.Bar? /* <-- unresolved reference to Bar */ = null
}
}
===
2011-11-22 16:55:07 +04:00
svtk
8cf7618dfb
KT-41 Make functions with errors in returning statement return ERROR type and not Nothing
2011-11-22 15:09:59 +04:00
Alex Tkachman
8eabc2978e
KT-581 wrong implicit receiver for intrinsic method call
2011-11-22 12:57:24 +02:00
Alex Tkachman
efceb12f3b
rewrite of closure capturing for object literals
2011-11-22 12:35:42 +02:00
Alex Tkachman
159865d751
KT-560 - no type coertion for fields
2011-11-22 09:09:51 +02:00
svtk
a7a5fa852e
KT-469 Allow val-reassignment when appropriate functions are defined
2011-11-21 17:34:31 +04:00
svtk
a00ad38a1c
KT-510 this. allows initialization without backing field
2011-11-21 14:35:08 +04:00
Stepan Koltsov
3915d24660
more tests for backing fields
2011-11-21 14:07:27 +04:00
Alex Tkachman
7abf87b797
fix for test broken by previous build
2011-11-19 07:19:12 +02:00
Alex Tkachman
abb15a85d6
KT-434 test and ability to supply full JDK for compiler tests
2011-11-19 07:01:58 +02:00
Alex Tkachman
39ca8eded8
KT-531 Support nullable iterator in for()
2011-11-18 21:12:25 +02:00
Alex Tkachman
50edc9750b
KT-535 no need in outer type info for class object
2011-11-18 13:38:38 +02:00