Commit Graph

45134 Commits

Author SHA1 Message Date
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
Sergey Ignatov bbcf8be5bf working with package statement improved 2011-11-15 18:13:39 +04:00
Sergey Ignatov 58176f2361 remove TODO from ArrayType.toKotlin() 2011-11-15 18:13:39 +04:00
Sergey Ignatov d45e69b538 move isEmpty() from Expression to Element 2011-11-15 18:13:39 +04:00
Sergey Ignatov 9782fc700f AnyType.class expression supported 2011-11-15 18:13:38 +04:00
Sergey Ignatov a80f0eecd4 cleanup 2011-11-15 18:13:38 +04:00
Sergey Ignatov 437fe1b6b4 getAllFields() replaced by getFields() 2011-11-15 18:13:38 +04:00
Sergey Ignatov 4c7056b2f9 added test for main function 2011-11-15 18:13:38 +04:00
Sergey Ignatov 6a979e540d set with keyword updated 2011-11-15 18:13:38 +04:00
Sergey Ignatov f5c1f098be Converter cleanup 2011-11-15 18:13:38 +04:00
Sergey Ignatov dba5e97b7a added default params for all primitive types 2011-11-15 18:13:38 +04:00
Sergey Ignatov ab85374856 some tests added for previous commit 2011-11-15 18:13:38 +04: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
Pavel Talanov 55d1f0f267 Added support for if else clause as an expression. It has major issue with statement/expression resolving for JetExpression. 2011-11-14 22:57:56 +04:00
Pavel Talanov ed0c9f621d Added tests for remaining unary operators (!,+, -).Verified that generated code is what expected. 2011-11-14 22:57:55 +04:00
Pavel Talanov 2ef2eee03e Implemented basic version of unary operation translation(valid for primitive types) and added a 2 tests for it. 2011-11-14 22:57:54 +04:00
Pavel Talanov 29ae566681 Introduced OperationTranslator class and started work on Unary Expression. 2011-11-14 22:57:54 +04:00
Pavel Talanov 4111833376 Found a bug so work on constructor parameters has stopped.
i
2011-11-14 22:57:53 +04:00
Pavel Talanov 7645e9f2bf Renamed function test suite to expression test suite. Work in progress on constructor parameters. 2011-11-14 22:57:52 +04:00
Pavel Talanov 77f8843808 Added anonymous initializer support in class declarations. 2011-11-14 22:57:52 +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
Sergey Ignatov 016064c273 base class params added to the class declaration 2011-11-14 17:29:38 +04:00
Andrey Breslav 9ec55e08f4 Collective slices fixed 2011-11-14 16:25:37 +03:00
Sergey Ignatov 26b96d9562 replace this. by $ for fields inside anonymous initializers 2011-11-14 15:44:28 +04:00
Sergey Ignatov 251b69eab3 cleanup 2011-11-14 14:44:52 +04:00
Sergey Ignatov 1e838a9dc3 added files for fields tests 2011-11-14 14:39:44 +04:00
Sergey Ignatov 548d89ef4e another one case with constructors supported 2011-11-14 14:30:06 +04: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
Pavel Talanov 158fccbac5 Added Translation class for better instance creation control over the code. 2011-11-12 22:56:47 +04: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