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
Alex Tkachman
b054ccefdb
KT-518 - array like expression via intrinsic method
2011-11-18 12:10:08 +02:00
Alex Tkachman
c896206284
commented test case for KT-285
2011-11-18 08:21:36 +02:00
Stepan Koltsov
3c24530b67
more tests for backing fields
2011-11-17 17:23:38 +04:00
Alex Tkachman
1b04870fa4
proper try/catch/finally
2011-11-16 14:26:16 +02:00
Stepan Koltsov
3b17b3fac7
typer tests for backing fields
2011-11-15 19:54:46 +04:00
Alex Tkachman
84593f2cfb
KT-513 Proper use of resolved call in case of infix calls
2011-11-15 16:52:35 +02:00
Alex Tkachman
aaed9b0325
KT-504 array like expressions with type parameters
2011-11-15 12:42:51 +02:00
Alex Tkachman
3b2fb0da8f
KT-508 accessors for enclosed private fields
2011-11-14 19:34:00 +02:00
Andrey Breslav
9ec55e08f4
Collective slices fixed
2011-11-14 16:25:37 +03:00
Alex Tkachman
6982ce454e
KT-503 test. Never use asm.Type.getElementType()
2011-11-14 06:17:11 +02:00
Alex Tkachman
3904b91e4c
backend refactoring from extension properties and proper naming scheme of inner classes and objects
2011-11-13 21:08:35 +02:00
Alex Tkachman
a3ac4506af
failing test for kt-475
2011-11-12 20:51:43 +02:00
Stepan Koltsov
e97b91c6e4
report overload conflict of constructor and function
...
like this:
===
fun a() = 1
class a()
===
2011-11-12 21:24:11 +04:00
Andrey Breslav
c74a0a62cc
KT-313 Bug in substitutions in a function returning its type parameter T
2011-11-12 20:29:38 +04:00
Andrey Breslav
30926012c7
Support unicode escapes in chars and strings
2011-11-12 18:54:03 +04:00
Andrey Breslav
bf4fef9a03
A non-generic function is always more speciic than a generic function
...
Example:
fun <T> array(vararg array : T) = array
fun array(vararg array : Char) = array
fun test() {
array('1', '2') // ambiguity
}
2011-11-12 18:20:16 +04:00
Stepan Koltsov
3193b7d2c4
fix incorrect overload error on regular function and extension function with same name
...
===
fun ff() = 1
fun Int.ff() = 1
===
2011-11-12 16:54:33 +04:00
Stepan Koltsov
50c7364f6b
fix unnecessary wrong overload in test
2011-11-12 16:54:27 +04:00
Stepan Koltsov
594ab01b1f
fix incorrect overload error in different namespaces with same suffix
...
===
namespace a {
fun f() = 1
}
namespace b {
namespace a {
fun f() = 1
}
}
===
2011-11-12 16:05:16 +04:00
svtk
3bfd7955a0
KT-352 Function variable declaration type isn't checked inside a function body
2011-11-11 01:00:40 +04:00
Andrey Breslav
4a87566fa2
KT-442 Type inference fails on with()
2011-11-10 23:19:10 +03:00
svtk
2c0ac86973
Merge remote-tracking branch 'origin/master'
2011-11-10 22:13:57 +04:00
Andrey Breslav
4224e00cbd
Most of the tests fixed
2011-11-10 21:33:46 +03:00
svtk
25d26fe6fd
KT-235 Illegal assignment return type
2011-11-10 22:13:52 +04:00