Commit Graph

1707 Commits

Author SHA1 Message Date
Andrey Breslav beb2b50dd2 Merge remote-tracking branch 'origin/master' 2011-11-17 17:58:31 +01:00
Andrey Breslav ca5612d710 Devoxx slides 2011-11-17 17:58:04 +01: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 8087d8da5a TypeInfo.getTypeClass renamed to getJavaClass 2011-11-15 17:03:02 +02: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 6c3294ca3a KT-515 TypeInfo.getTypeClass() method 2011-11-15 16:11:14 +02:00
Maxim Shafirov 93b935d4ba KT-514 NPE 2011-11-15 16:03:58 +04:00
Alex Tkachman aaed9b0325 KT-504 array like expressions with type parameters 2011-11-15 12:42:51 +02:00
Stepan Koltsov 74654c467c group tests by directory 2011-11-15 00:58:28 +04:00
Alex Tkachman 3b2fb0da8f KT-508 accessors for enclosed private fields 2011-11-14 19:34:00 +02:00
Maxim Shafirov cf3217cdc1 SOE fix 2011-11-14 21:18:46 +04:00
Maxim Shafirov f3c2a48f92 null is valid compile time value 2011-11-14 21:18:46 +04:00
Andrey Breslav 1befef2a2f toString fixed in Call 2011-11-14 20:10:41 +03:00
Andrey Breslav ee8c96ddee NPE fixed 2011-11-14 20:10:25 +03:00
Andrey Breslav 4902eb5d0d Merge remote branch 'origin/master' 2011-11-14 20:09:23 +03:00
Andrey Breslav 5ae6941375 Proper return types for unary plus and minus 2011-11-14 20:09:18 +03:00
Andrey Breslav b6a07c1e29 Merge remote branch 'origin/master' 2011-11-14 17:34:38 +03:00
Andrey Breslav 77e0ce726d readLine() implemented via redirection 2011-11-14 17:34:30 +03:00
Stepan Koltsov 16d39b9cd6 replace NotImplementedException with IllegalStateException
dropping dependency on commons-lang
2011-11-14 17:42:06 +04: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
Andrey Breslav 1927eeef2c One more puzzler 2011-11-13 19:10:55 +04:00
Andrey Breslav 703963621e More puzzlers 2011-11-13 19:06:00 +04:00
Alex Tkachman d494463352 comment failing test 2011-11-12 21:59:51 +02:00
Alex Tkachman a3ac4506af failing test for kt-475 2011-11-12 20:51:43 +02:00
Andrey Breslav a322154477 JetConstructor renamed to avoid confusion 2011-11-12 22:18:55 +04:00
Stepan Koltsov 537a9ba804 fix JetOverloadTest broken in e97b91c6e4 2011-11-12 21:38:27 +04: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
Alex Tkachman ffa2e8f87c Merge remote branch 'origin/master' 2011-11-12 19:13:51 +02:00
Alex Tkachman 396376c013 fix for broken test. (this, receiver) handling normalized 2011-11-12 19:13:26 +02:00
Andrey Breslav 2070c2201e Fixing example code 2011-11-12 20:31:06 +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 8d8145c3d2 Better reporting in tests 2011-11-12 20:25:38 +04:00
Andrey Breslav 3fcb75ba1d Merge remote-tracking branch 'origin/master' 2011-11-12 18:56:10 +04:00
Andrey Breslav 7f50031151 Delete useless files 2011-11-12 18:55:56 +04:00
Stepan Koltsov 7975a8e0c3 narrow return type of ClassDescriptor.getConstructors
ClassDescriptor.getConstructors should return
Set<ConstructorDesctiptor> instead of Set<FunctionDescriptor>
2011-11-12 18:55:16 +04:00
Andrey Breslav 30926012c7 Support unicode escapes in chars and strings 2011-11-12 18:54:03 +04:00
Andrey Breslav ff62489233 No arithmetic for Chars (except for '-') 2011-11-12 18:37:26 +04:00
Andrey Breslav 89fa7cd29a More Kotlin vs Java puzzlers 2011-11-12 18:37:06 +04:00
Andrey Breslav 3f6838be36 A quick and dirty fix for error reporting when no function is applicable 2011-11-12 18:25:35 +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
Andrey Breslav 5bb226627f Internal compiler errors are reported as warnings, and individually namespace-by-namespace. To make it easier to work even in the presence of some bug-triggering code in the current project 2011-11-12 18:13:11 +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
Maxim Shafirov f18510652e opt out Java -> Kotlin resolve due to unsolved SOE problems 2011-11-11 22:03:01 +04:00
Maxim Shafirov c5daa97cef stack overflow 2011-11-11 21:35:24 +04:00