Commit Graph

  • dcb7b3264c Refactored tests a bit. Working on KotlinLibTest Pavel Talanov 2011-11-16 16:09:50 +04:00
  • 978d827630 Added suppoer for null literal and a test for Traits. Pavel Talanov 2011-11-16 14:35:46 +04:00
  • b9a60c8675 Refactored ClassTranslator code a bit. Added support for different order of inherited classes. Pavel Talanov 2011-11-16 14:21:14 +04:00
  • ec1b226453 Added basic trait support. Added a couple of tests. Pavel Talanov 2011-11-16 13:44:29 +04:00
  • 24d1cb1a1f Added support for passing parameters to ancestor constructor. Added a test. Pavel Talanov 2011-11-15 22:22:00 +04:00
  • 34d649938b Added one more test for initialization order. Pavel Talanov 2011-11-15 21:10:15 +04:00
  • 17e41e627d Found and solved a problem which caused only one ancestor's constructor to be called. Added "super_init" method generation to InitializerVisitor. Worked on KotlinJsLib to solve this issue. This solution should evolve in the future. Pavel Talanov 2011-11-15 21:05:54 +04:00
  • a120125e5a Added constructor parameter support. Properties declared as constructor parameters and base class constructor calls are not implemented yet. Pavel Talanov 2011-11-15 18:46:18 +04:00
  • 5449e76669 Added BindingUtils.isStatement. Still issue not solved. Pavel Talanov 2011-11-14 23:05:07 +04:00
  • 1b04870fa4 proper try/catch/finally Alex Tkachman 2011-11-16 14:26:16 +02:00
  • 234f98b164 private dictionary changed Sergey Ignatov 2011-11-16 13:24:15 +04:00
  • 7d6513f49f added constructors for enums Sergey Ignatov 2011-11-16 13:23:18 +04:00
  • fb6ac8e4b6 Converter.isConstructorPrimary signature changed Sergey Ignatov 2011-11-16 13:19:43 +04:00
  • d0c8b104d5 working with import statements improved Sergey Ignatov 2011-11-16 12:57:13 +04:00
  • 3b17b3fac7 typer tests for backing fields Stepan Koltsov 2011-11-15 19:54:46 +04:00
  • 8087d8da5a TypeInfo.getTypeClass renamed to getJavaClass Alex Tkachman 2011-11-15 17:03:02 +02:00
  • 84593f2cfb KT-513 Proper use of resolved call in case of infix calls Alex Tkachman 2011-11-15 16:52:35 +02:00
  • bbcf8be5bf working with package statement improved Sergey Ignatov 2011-11-15 18:13:25 +04:00
  • 58176f2361 remove TODO from ArrayType.toKotlin() Sergey Ignatov 2011-11-15 16:51:43 +04:00
  • d45e69b538 move isEmpty() from Expression to Element Sergey Ignatov 2011-11-15 16:51:29 +04:00
  • 9782fc700f AnyType.class expression supported Sergey Ignatov 2011-11-15 16:40:06 +04:00
  • a80f0eecd4 cleanup Sergey Ignatov 2011-11-15 16:19:23 +04:00
  • 437fe1b6b4 getAllFields() replaced by getFields() Sergey Ignatov 2011-11-15 15:58:17 +04:00
  • 4c7056b2f9 added test for main function Sergey Ignatov 2011-11-15 15:23:54 +04:00
  • 6a979e540d set with keyword updated Sergey Ignatov 2011-11-15 15:18:42 +04:00
  • f5c1f098be Converter cleanup Sergey Ignatov 2011-11-15 15:01:16 +04:00
  • dba5e97b7a added default params for all primitive types Sergey Ignatov 2011-11-15 14:31:18 +04:00
  • ab85374856 some tests added for previous commit Sergey Ignatov 2011-11-14 18:26:43 +04:00
  • 6c3294ca3a KT-515 TypeInfo.getTypeClass() method Alex Tkachman 2011-11-15 16:11:14 +02:00
  • 93b935d4ba KT-514 NPE Maxim Shafirov 2011-11-15 16:03:47 +04:00
  • aaed9b0325 KT-504 array like expressions with type parameters Alex Tkachman 2011-11-15 12:42:51 +02:00
  • 74654c467c group tests by directory Stepan Koltsov 2011-11-15 00:58:28 +04:00
  • 55d1f0f267 Added support for if else clause as an expression. It has major issue with statement/expression resolving for JetExpression. Pavel Talanov 2011-11-14 22:57:26 +04:00
  • ed0c9f621d Added tests for remaining unary operators (!,+, -).Verified that generated code is what expected. Pavel Talanov 2011-11-14 22:11:35 +04:00
  • 2ef2eee03e Implemented basic version of unary operation translation(valid for primitive types) and added a 2 tests for it. Pavel Talanov 2011-11-14 22:04:13 +04:00
  • 29ae566681 Introduced OperationTranslator class and started work on Unary Expression. Pavel Talanov 2011-11-14 21:19:32 +04:00
  • 4111833376 Found a bug so work on constructor parameters has stopped. i Pavel Talanov 2011-11-14 20:23:01 +04:00
  • 7645e9f2bf Renamed function test suite to expression test suite. Work in progress on constructor parameters. Pavel Talanov 2011-11-14 19:53:38 +04:00
  • 77f8843808 Added anonymous initializer support in class declarations. Pavel Talanov 2011-11-14 19:50:55 +04:00
  • 3b2fb0da8f KT-508 accessors for enclosed private fields Alex Tkachman 2011-11-14 19:34:00 +02:00
  • cf3217cdc1 SOE fix Maxim Shafirov 2011-11-14 21:16:32 +04:00
  • f3c2a48f92 null is valid compile time value Maxim Shafirov 2011-11-14 20:56:36 +04:00
  • 1befef2a2f toString fixed in Call Andrey Breslav 2011-11-14 20:10:41 +03:00
  • ee8c96ddee NPE fixed Andrey Breslav 2011-11-14 20:10:25 +03:00
  • 4902eb5d0d Merge remote branch 'origin/master' Andrey Breslav 2011-11-14 20:09:23 +03:00
  • 5ae6941375 Proper return types for unary plus and minus Andrey Breslav 2011-11-14 20:09:18 +03:00
  • 16d39b9cd6 replace NotImplementedException with IllegalStateException Stepan Koltsov 2011-11-14 17:41:55 +04:00
  • b6a07c1e29 Merge remote branch 'origin/master' Andrey Breslav 2011-11-14 17:34:38 +03:00
  • 77e0ce726d readLine() implemented via redirection Andrey Breslav 2011-11-14 17:34:30 +03:00
  • 016064c273 base class params added to the class declaration Sergey Ignatov 2011-11-14 17:29:38 +04:00
  • 9ec55e08f4 Collective slices fixed Andrey Breslav 2011-11-14 16:25:37 +03:00
  • 26b96d9562 replace this. by $ for fields inside anonymous initializers Sergey Ignatov 2011-11-14 15:41:47 +04:00
  • 251b69eab3 cleanup Sergey Ignatov 2011-11-14 14:44:52 +04:00
  • 1e838a9dc3 added files for fields tests Sergey Ignatov 2011-11-14 14:39:44 +04:00
  • 548d89ef4e another one case with constructors supported Sergey Ignatov 2011-11-14 14:29:58 +04:00
  • 6982ce454e KT-503 test. Never use asm.Type.getElementType() Alex Tkachman 2011-11-14 06:17:11 +02:00
  • 3904b91e4c backend refactoring from extension properties and proper naming scheme of inner classes and objects Alex Tkachman 2011-11-13 21:08:35 +02:00
  • 1927eeef2c One more puzzler Andrey Breslav 2011-11-13 19:10:55 +04:00
  • 703963621e More puzzlers Andrey Breslav 2011-11-13 19:05:09 +04:00
  • d494463352 comment failing test Alex Tkachman 2011-11-12 21:59:51 +02:00
  • 158fccbac5 Added Translation class for better instance creation control over the code. Pavel Talanov 2011-11-12 22:56:47 +04:00
  • a3ac4506af failing test for kt-475 Alex Tkachman 2011-11-12 20:51:19 +02:00
  • a322154477 JetConstructor renamed to avoid confusion Andrey Breslav 2011-11-12 22:18:55 +04:00
  • 537a9ba804 fix JetOverloadTest broken in e97b91c6e4 Stepan Koltsov 2011-11-12 21:38:27 +04:00
  • e97b91c6e4 report overload conflict of constructor and function Stepan Koltsov 2011-11-12 21:24:11 +04:00
  • ffa2e8f87c Merge remote branch 'origin/master' Alex Tkachman 2011-11-12 19:13:51 +02:00
  • 396376c013 fix for broken test. (this, receiver) handling normalized Alex Tkachman 2011-11-12 19:13:26 +02:00
  • 997ddce4b5 Added support for unqualified property reference inside method body. Pavel Talanov 2011-11-12 21:13:20 +04:00
  • 2070c2201e Fixing example code Andrey Breslav 2011-11-12 20:31:06 +04:00
  • c74a0a62cc KT-313 Bug in substitutions in a function returning its type parameter T Andrey Breslav 2011-11-12 20:29:38 +04:00
  • 8d8145c3d2 Better reporting in tests Andrey Breslav 2011-11-12 20:25:38 +04:00
  • 74742c899c Added syntactic checks to main. Pavel Talanov 2011-11-12 19:53:52 +04:00
  • 3fcb75ba1d Merge remote-tracking branch 'origin/master' Andrey Breslav 2011-11-12 18:56:10 +04:00
  • 7f50031151 Delete useless files Andrey Breslav 2011-11-12 18:55:56 +04:00
  • 7975a8e0c3 narrow return type of ClassDescriptor.getConstructors Stepan Koltsov 2011-11-12 18:53:50 +04:00
  • 30926012c7 Support unicode escapes in chars and strings Andrey Breslav 2011-11-12 18:54:03 +04:00
  • ff62489233 No arithmetic for Chars (except for '-') Andrey Breslav 2011-11-12 18:37:26 +04:00
  • 89fa7cd29a More Kotlin vs Java puzzlers Andrey Breslav 2011-11-12 18:37:06 +04:00
  • 3f6838be36 A quick and dirty fix for error reporting when no function is applicable Andrey Breslav 2011-11-12 18:25:35 +04:00
  • 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 Andrey Breslav 2011-11-12 18:20:16 +04:00
  • 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 Andrey Breslav 2011-11-12 18:13:11 +04:00
  • 85b1c1d3d7 Added class inheritance support and reorganised test classes. Minor impovements include: 1. Support for functions with no body 2. Not equals operator 3. Refactorings. Pavel Talanov 2011-11-12 18:09:46 +04:00
  • 3193b7d2c4 fix incorrect overload error on regular function and extension function with same name Stepan Koltsov 2011-11-12 16:54:33 +04:00
  • 50c7364f6b fix unnecessary wrong overload in test Stepan Koltsov 2011-11-12 16:54:27 +04:00
  • 594ab01b1f fix incorrect overload error in different namespaces with same suffix Stepan Koltsov 2011-11-12 16:04:56 +04:00
  • f18510652e opt out Java -> Kotlin resolve due to unsolved SOE problems Maxim Shafirov 2011-11-11 22:03:01 +04:00
  • c5daa97cef stack overflow Maxim Shafirov 2011-11-11 21:35:24 +04:00
  • 68e013a752 unlucky merge, sorry Maxim Shafirov 2011-11-11 21:06:17 +04:00
  • 30d90371dc Fixing Java puzzlers Andrey Breslav 2011-11-11 20:57:53 +03:00
  • 66c1f56892 merge commit Maxim Shafirov 2011-11-11 20:14:29 +04:00
  • 627a1dbf6f Resolve Kotlin from Java, first drop. Maxim Shafirov 2011-11-11 19:57:40 +04:00
  • aa02dcd0e7 Merge remote branch 'origin/master' Andrey Breslav 2011-11-11 15:54:16 +03:00
  • 421d27e448 PROPERTY_ACCESSOR included into DECLARATIONS_TO_DESCRIPTORS Andrey Breslav 2011-11-11 15:54:05 +03:00
  • 3bfd7955a0 KT-352 Function variable declaration type isn't checked inside a function body svtk 2011-11-11 01:00:40 +04:00
  • 4a87566fa2 KT-442 Type inference fails on with() Andrey Breslav 2011-11-10 23:18:54 +03:00
  • 2c0ac86973 Merge remote-tracking branch 'origin/master' svtk 2011-11-10 22:13:57 +04:00
  • e001c6e306 Unified processing in TopDownAnalyzer to avoid inconsistencies Andrey Breslav 2011-11-10 21:52:14 +03:00
  • 4224e00cbd Most of the tests fixed Andrey Breslav 2011-11-10 21:33:46 +03:00
  • 25d26fe6fd KT-235 Illegal assignment return type svtk 2011-11-10 22:13:52 +04:00
  • 586f4c34b2 Merge remote branch 'origin/master' Andrey Breslav 2011-11-10 20:55:18 +03:00