Commit Graph

7112 Commits

Author SHA1 Message Date
Pavel V. Talanov a1a3c5cfe5 Use Namer.CALLEE_NAME in ClassInitializerTranslator.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
2012-08-14 12:38:00 +04:00
Pavel V. Talanov 22e4c6dd4b Label generator utility.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
2012-08-14 12:37:59 +04:00
Pavel V. Talanov c66df38da5 Rename WhenTranslator.translateWhenExpression -> WhenTranslator#translate.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
2012-08-14 12:37:58 +04:00
Pavel V. Talanov 14a9986ddc Remove unnecessary code in PatternTranslator.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
2012-08-14 12:37:57 +04:00
Pavel V. Talanov 8939dd1a6e Use notNullConditionalTestExpression utility in UnaryOperationTranslator.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
2012-08-14 12:37:56 +04:00
Pavel V. Talanov 7a22ad099a Fix formatting in some of test data files.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
2012-08-10 14:06:23 +04:00
Pavel V. Talanov 12d9b25189 Inline useless temp var in ForTranslator.
Also fix formatting.

Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
2012-08-10 14:02:34 +04:00
Pavel V. Talanov 25234254fe Hack to make tests path in IteratorForTranslator.
Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b.
2012-08-09 19:26:12 +04:00
Pavel V. Talanov 6300220983 Changes to kotlin lib js.
Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b.
2012-08-09 19:25:18 +04:00
Pavel V. Talanov 4c316011db Optimize temporary variable declarations in dynamic context, also introduce some hacky apis.
Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b.
2012-08-09 19:23:19 +04:00
Pavel V. Talanov 2eca6c836e Rename kotlinLib.js to kotlinEcma3.js and update build.xml accordingly.
Update paths to js-tests-lib in build.xml.

Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b.
2012-08-08 15:43:18 +04:00
Pavel V. Talanov 0c6308545b Correct code in WhenTranslator using the new ast. 2012-08-08 13:36:19 +04:00
Pavel V. Talanov 1165f2c502 Extract js-test-libs into separate project library. 2012-08-08 13:06:03 +04:00
Pavel V. Talanov 0776892b3c Fix for a problem which sometimes caused environment to be broken when tests using JsUnitTestBase fail. 2012-08-08 13:05:15 +04:00
Pavel V. Talanov 5b2469227e Additional logic in static context related to modules. Hacky fix for nameclashes when inheriting descriptors.
Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b.
2012-08-07 15:05:26 +04:00
Pavel V. Talanov 0a92843245 Use other version of JS ast by develar: migrate code to using new ast.
Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b.
2012-08-07 13:38:34 +04:00
Pavel V. Talanov 17b85cbeed Use other version of JS ast by develar: changes to jars and xmls.
Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b.
2012-08-07 13:35:46 +04:00
Pavel V. Talanov fa513ce976 Fix accidental usage of closurecompiler's internal implementation of guava.
Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b by develar.
2012-08-07 13:34:43 +04:00
Pavel V. Talanov c07c317268 JetClassOrObject extends JetElement.
Adapted from https://github.com/develar/kotlin/commit/9ac92f00a163ddf9bb3a6d7a6f4f47578c8c6dfb by develar.
2012-08-06 16:56:27 +04:00
Pavel V. Talanov 57e9df053e Extract JetWhileExpressionBase.
Adapted from https://github.com/develar/kotlin/commit/9ac92f00a163ddf9bb3a6d7a6f4f47578c8c6dfb by develar.
2012-08-06 16:54:51 +04:00
Natalia.Ukhorskaya a32cb40fc6 Android module: update excluded files 2012-08-06 12:42:29 +04:00
Alex Tkachman 68e436610c KT-1535 test for obsolete issue 2012-08-06 10:55:37 +03:00
Alex Tkachman 532c5b791c KT-454 test for obsolete issue 2012-08-06 10:47:51 +03:00
Alex Tkachman eaddf5db2d KT-2480 test for obsolete issue 2012-08-06 10:42:23 +03:00
Alex Tkachman 3f4a197184 KT-2417 fix: proper handling of !in 2012-08-06 10:33:27 +03:00
Nikolay Krasko 4891e0e299 Update error reporter for IDEA 12 - don't copy code. 2012-08-06 11:05:13 +04:00
Nikolay Krasko 157bd147f1 Advanced way for getting package fqn from psi 2012-08-06 11:05:12 +04:00
Nikolay Krasko 8c78a36ad0 Use inherited JDK for android tests 2012-08-06 11:05:11 +04:00
Nikolay Krasko 66eaeedd31 Add types in test 2012-08-06 11:05:09 +04:00
Nikolay Krasko f7f699a929 Additional checkCancel in processing of single task for the call 2012-08-06 11:05:08 +04:00
Nikolay Krasko 871f57ff69 Infer Nullability refactoring 2012-08-06 11:05:07 +04:00
Natalia.Ukhorskaya 5730955ce0 Android module: add test files which depend on junit.jar 2012-08-06 10:48:39 +04:00
Natalia.Ukhorskaya 57707d3a69 Android module: fix build - multifile test isn't supported yet 2012-08-06 10:48:38 +04:00
Alex Tkachman 59d58648bd KT-2275 fix: wrong coercion between nullable primitives 2012-08-06 09:25:20 +03:00
Alex Tkachman 2d63f6f970 KT-2271 fix: default param value refering another param 2012-08-06 08:28:38 +03:00
Alex Tkachman 9819095451 KT-1739: test for obsolete issue 2012-08-04 22:58:33 +03:00
Alex Tkachman fcab204459 KT-2210: Array<Array<T>> type mapping 2012-08-04 22:52:02 +03:00
Alex Tkachman 4e0e7fb943 KT-1892: initializers for extension properties 2012-08-04 22:07:21 +03:00
Alex Tkachman 186807a6d7 KT-1779: test for obsolete issue 2012-08-04 21:41:25 +03:00
Alex Tkachman 5c8863dafe typo while commit fixed 2012-08-04 21:30:39 +03:00
Alex Tkachman bf7bf194e6 KT-1733 test for obsolete issue 2012-08-04 21:29:28 +03:00
Alex Tkachman 454f0aaa15 KT-1936 codegen tests for issue which in fact frontend one 2012-08-04 21:20:28 +03:00
Alex Tkachman c4ff8ae452 KT-1846 proper visibility for constructor parameters properties 2012-08-04 20:13:48 +03:00
Alex Tkachman 0ecb02cc25 KT-2260 test for non reproducable (probably obsolete) issue 2012-08-04 19:23:41 +03:00
Alex Tkachman 3ca1cbf5a0 KT-1845 test for obsolete issue 2012-08-04 19:17:36 +03:00
Alex Tkachman e1e8c65a71 KT-2257 fix. private namespace visibility becomes protected in java land 2012-08-04 18:58:45 +03:00
Alex Tkachman e848e5502b KT-2291: test for obsolete issue 2012-08-04 16:46:27 +03:00
Alex Tkachman 34a0b0dcd4 KT-2334 partly fix: boolean to object coercion 2012-08-04 12:46:49 +03:00
Alex Tkachman 301b55788e KT-2269 fix: hashCode & equals for primitives 2012-08-04 08:55:38 +03:00
Alex Tkachman bcec8b7c36 KT-2331 fix: proper dealing with privite property setters 2012-08-04 08:10:38 +03:00