Commit Graph

398 Commits

Author SHA1 Message Date
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 7fae503a38 KT-1080 Don't use previously imported packages while resolving import references 2012-01-20 11:58:17 +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
Alex Tkachman 52b81a15e5 KT-998: wrong codegen for labeled continue/break 2012-01-19 00:01:46 +01:00
Alex Tkachman 86a33f8b16 KT-1076 reversed ranges 2012-01-18 20:01:18 +01:00
Alex Tkachman a529ad2ac7 KT-1054 comparison of booleans 2012-01-18 18:10:41 +01:00
Alex Tkachman 01b405c86a KT-1055 wrong identityEquals codegen 2012-01-18 17:34:48 +01:00
svtk cc3a7448dc KT-657 Semantic checks for when without condition 2012-01-18 19:28:39 +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
Stepan Koltsov df9a4c7786 allow two ext properties with same name in one package 2012-01-18 12:08:35 +04:00
Stepan Koltsov 6ceb6816be ReadKotlinBinaryClassTest: List<*> 2012-01-18 12:03:42 +04:00
Stepan Koltsov c18a5009a4 test for function type 2012-01-18 11:56:27 +04:00
Stepan Koltsov 5c6823a094 ReadJavaBinaryClassTest: Any 2012-01-18 11:56:14 +04:00
Stepan Koltsov cf8e901823 test read class with two properties 2012-01-17 19:33:15 +04:00
Stepan Koltsov 7954938cb8 properly read final field from java code 2012-01-17 19:33:03 +04:00
Stepan Koltsov 1fc0d9b0f4 ReadKotlinModelFromJavaBinaryClasses 2012-01-17 19:32:50 +04:00
Stepan Koltsov 49dbcaa728 rename ReadClassDataTest 2012-01-17 19:32:18 +04:00
svtk 94e3cc9976 Merge remote-tracking branch 'origin/master' 2012-01-17 15:43:17 +04:00
svtk e6a2b2fc0f //KT-1027 Strange selection of unreachable code 2012-01-17 15:43:11 +04:00
svtk 3a634417b9 KT-776 Wrong detection of unreachable code
KT-1001 Argument 2 for @NotNull parameter of JetFlowInformationProvider.checkIsInitialized must not be null
2012-01-17 15:27:54 +04:00
Maxim Shafirov d51c030803 New module script DSL 2012-01-16 20:59:17 +04:00
Andrey Breslav fb463da84b KT-918 Use-case for using some functions and lambdas (confused) 2012-01-16 17:22:12 +04:00
Stepan Koltsov 5f44c17b85 ReadClassDataTest: read inner classes
(this commit is made on speed 250km/h somewhere between Moscow and Saint Petersburg)
2012-01-15 18:56:48 +04:00
svtk a07e164076 KT-955 Unable to import a Kotlin package into a Kotlin file with no package header 2012-01-13 18:18:18 +04:00
svtk 3f003a16c2 Merge remote-tracking branch 'origin/master' 2012-01-13 13:28:35 +04:00
svtk 119783ef31 warning on hidden imports 2012-01-13 13:28:05 +04:00
Stepan Koltsov 8055cf0704 fix another case of property resolution
val <T> T.prop: Something<T>
2012-01-13 03:55:11 +04:00
Stepan Koltsov a8137d1a56 fix another case of property resolution, refactoring 2012-01-13 03:55:11 +04:00
Stepan Koltsov 82880c82e3 WriteSignatureTest for varargs 2012-01-13 03:55:10 +04:00
Stepan Koltsov 709ff80d63 more tests 2012-01-13 03:55:10 +04:00
Andrey Breslav c78cb3cc19 Rename namespace->package in the token decala 2012-01-12 19:50:14 +04:00
svtk 390eb0cde3 forbid import of functions and properties from objects 2012-01-12 18:39:25 +04:00
Stepan Koltsov ec5d5e2dcf working on @JetProperty.type 2012-01-12 07:04:00 +04:00
Stepan Koltsov 200fd78574 ReadClassDataTest: extension properties 2012-01-12 01:25:47 +04:00
Stepan Koltsov 046a92ed7a add lost tests 2012-01-11 19:36:48 +04:00
svtk 9902200e5e import of members without additional bound to receiver descriptors 2012-01-11 18:37:10 +04:00
svtk c39b333631 Merge remote-tracking branch 'origin/master'
Conflicts:
	compiler/frontend/src/org/jetbrains/jet/lang/resolve/ImportsResolver.java
2012-01-11 14:23:10 +04:00
svtk 3e8e8bd3c8 import from objects before properties resolve 2012-01-11 14:19:01 +04:00
Alex Tkachman a520fe9762 Merge remote branch 'origin/master' 2012-01-10 21:14:41 +02:00
Alex Tkachman c318191f5d KT-935 resolved call used on += 2012-01-10 21:14:22 +02:00
svtk a22b78d60d Import all members from class object 2012-01-10 22:20:02 +04:00
Alex Tkachman 2e0b1863cd KT-940 proper calculation of bridge methods 2012-01-10 19:50:13 +02:00
Alex Tkachman ba6c9be53a KT-958 wrong compilation of 'in' with complex expression under test 2012-01-10 17:05:21 +02:00
svtk e50e3f8ec8 KT-900 Inaccessible class should be unresolved 2012-01-10 17:48:02 +04:00
Alex Tkachman 5633f71edc KT-950 wrong call to array-like setter with non-void return type 2012-01-10 15:36:33 +02:00
Alex Tkachman 85ff44676a KT-945 functional parameters used properly on array creation 2012-01-10 14:58:16 +02:00
svtk 2feaaa4f71 KT-897 Don't allow assignment to a property before it is defined 2012-01-10 15:04:57 +04:00
Andrey Breslav 81a3dcf78b _1 and such work for Tuples 2012-01-10 12:21:37 +04:00