Commit Graph

378 Commits

Author SHA1 Message Date
Alex Tkachman 9ba1dbf98a refactoring in progress 2012-02-27 22:59:34 +02:00
Andrey Breslav 963557f3c8 KT-1457 Subtyping doesn't work when type parameter is used indirectly in supertype declaration 2012-02-27 15:34:57 +04:00
Andrey Breslav cefd9d5ca2 KT-627 Drop Predicate expression 2012-02-27 12:58:23 +04:00
Alex Tkachman eb017d8a2e fix for 1345 2012-02-26 09:38:07 +02:00
Andrey Breslav d22f4eb144 Rename getOutType() -> getType() 2012-02-24 18:50:40 +04:00
Andrey Breslav 1f4f4e5c24 Remove the annoying misconcetion in the naming. 2012-02-24 18:39:35 +04:00
Alex Tkachman 6146ec4268 KT-1406 wrong generation of receiver for ext.fun called inside closure 2012-02-24 16:24:16 +02:00
Andrey Breslav f049d27fa3 KT-1385 support multi line strings with templates 2012-02-24 14:25:31 +04:00
Alex Tkachman 7f2a8100c4 KT-1417 & KT-1398 proper access flags for backing fields 2012-02-24 09:57:49 +02:00
Alex Tkachman 80e728b6f6 KT-413 proper visibility of this$0 2012-02-24 08:26:50 +02:00
Alex Tkachman 1921e266a8 ability to compile text (not file) 2012-02-23 18:45:34 +02:00
Alex Tkachman 4f67177aa2 Revert "ability to compile text and small refactoring"
This reverts commit 4ddf101397.
2012-02-23 17:01:33 +02:00
Alex Tkachman 4ddf101397 ability to compile text and small refactoring 2012-02-23 14:12:28 +02:00
Stepan Koltsov e0fae55ee4 read kotlin class objects from binary classes 2012-02-22 22:11:08 +04:00
Alex Tkachman 53bba59a4f dbl -> toDouble 2012-02-22 13:14:41 +02:00
Alex Tkachman 18990e2c1b bug with delegation from EA 2012-02-22 13:02:48 +02:00
Stepan Koltsov aacf63ff6f reading annotations from bytecode
(without fields yet)
2012-02-21 20:16:11 +04:00
Alex Tkachman 5e7de3f5ab getting rid of JetObject.getOuterObject 2012-02-21 15:13:16 +02:00
Alex Tkachman 8b622f97f4 getting rid of TypeInfo 2012-02-21 14:54:00 +02:00
Stepan Koltsov fd8b363a5f fix tests 2012-02-20 22:58:07 +04:00
Stepan Koltsov a1d88a0877 recognize @NotNull
http://youtrack.jetbrains.com/issue/KT-129
2012-02-20 22:37:06 +04:00
Stepan Koltsov 2026be5464 some automation in NamespaceComparator 2012-02-20 22:37:02 +04:00
Andrey Breslav bff62484b1 KT-1306123.lng or 123.sht is not good name 2012-02-20 21:42:13 +04:00
Alex Tkachman 436c298e47 weird bug with nested closures using outer receiver 2012-02-20 12:15:02 +02:00
Stepan Koltsov ca8cf6cb49 missing error report on incompatible declaration
===
open class Aaaa() {
    fun bb() = 1
}

class Bbbb() : Aaaa() {
    fun <T> bb() = 1
}
===
2012-02-19 22:02:33 +04:00
Stepan Koltsov 842a70ca66 report conflicting overloads in functions with same parameters different type parameters
test case:

===
class Aaa() {
    fun f() = 1
    fun <P> f() = 1
}
===
2012-02-18 00:33:37 +04:00
Andrey Breslav a87c0903f2 KT-224 "Overload ambiguity" when calling toString() method 2012-02-17 21:01:24 +04:00
Alex Tkachman 252cd63d1c KT-633 test for obsolete issue 2012-02-17 09:36:09 -05:00
Alex Tkachman fac424c574 KT-725 test for obsolete issue 2012-02-17 09:12:48 -05:00
Alex Tkachman 082fdebaae KT-723 optional boxing after call to .inc() 2012-02-17 09:08:41 -05:00
Stepan Koltsov 356ad9bd0b fix Read*BinaryClassTest test on windows 2012-02-15 17:11:03 +04:00
Stepan Koltsov cf7be620a7 Read*BinaryClassTest: compare serialized namespace with hardcopy 2012-02-15 16:15:31 +04:00
Stepan Koltsov 9248cf9659 Important JavaDescriptorResolver refactoring
This patch implement own member filling with supertype scope. Before this patch JDR relied on
Idea hierarchy resolver.

This patch does two things:

* copies FunctionDescriptors from supertype scopes
* rewrites containingDeclaration similary to how it is done in previous patch

Patch is incomplete, in particular properties are not yet initialized properly, code needs cleanup,
however the most important part of refactoring is done, and tests pass.
2012-02-15 00:02:03 +04:00
Stepan Koltsov 0f52f2a5f8 fail early on syntax errors in ReadJavaBinaryClassTest 2012-02-14 23:40:21 +04:00
Maxim Shafirov a03922d467 Copyrights set to Apache, reflecting it's now open source 2012-02-14 19:25:06 +04:00
Evgeny Gerashchenko 8b9403ac0f Reverted my commits to restore build. 2012-02-13 19:53:03 +04:00
Evgeny Gerashchenko 30fc19ad82 ForTestCompileStdlib now is invoked in separate process to avoid substituting JarFileSystem and other global components with other incompatible components. 2012-02-13 18:38:41 +04:00
Alex Tkachman 845e873296 KT-1159 test for obsolete issue 2012-02-13 09:54:12 +02:00
Alex Tkachman ace34b01bc KT-1202 object construction fix 2012-02-13 08:34:10 +02:00
Alex Tkachman 9f4ef7fb6a KT-1186 test added 2012-02-11 13:04:26 +02:00
Alex Tkachman a2b602a440 KT-694 - support for simple enums 2012-02-11 13:00:28 +02:00
Alex Tkachman d81ca43b6e KT-1047 - obsolete. test added 2012-02-11 11:48:50 +02:00
Alex Tkachman 8d9434548f KT-1199 - test and fix for erased case 2012-02-11 11:09:02 +02:00
Stepan Koltsov 9b6e051dc1 split SuperGenTest.enclosed 2012-02-09 23:40:51 +04:00
Stepan Koltsov 5c8fb3febf split FunctionGenTest.defaultArgs 2012-02-09 22:25:19 +04:00
Stepan Koltsov 7ad452109f split SuperGenTest.basicmethod 2012-02-09 18:39:10 +04:00
Stepan Koltsov 02eb0201ea do not compile stdlib more then once for tests
if stdlib compilation fails then next test starts compilation again,
so all tests execute too long
2012-02-09 17:12:35 +04:00
Alex Tkachman bb3ca16203 Speeding up codegen tests 2012-02-07 19:10:47 +02:00
Alex Tkachman adfce7e22d KT-274 Enumeration.iterator() 2012-02-07 16:41:11 +02:00
Maxim Shafirov 9e7581c856 Give up on cleaning loader properly 2012-02-06 16:19:41 +04:00