4225 Commits

Author SHA1 Message Date
pTalanov 68680f702b Fix a bug which caused incorrectly generated js when you call extension literal from extension function. 2012-05-05 16:51:48 +04:00
pTalanov be98258ffa Change tests dependencies. 2012-05-04 16:15:03 +04:00
pTalanov 5ea8e0f697 Rollback commented out code.
Implement a hacky solution for the new "invoke" concept.
Fix most of the tests. (apart from 3)
2012-05-04 16:00:39 +04:00
Stepan Koltsov f4527b8167 better method name 2012-05-03 18:30:47 +04:00
Svetlana Isakova 04c2e1a64b Fallen (because of VariableAsFunctionResolvedCall change) javascript backend tests temporary commented 2012-05-03 14:46:06 +04:00
pTalanov d0d5b147f2 Refactor cli: all the jvm stuff goes under org.jetbrains.jet.cli.jvm, common stuff under org.jetbrains.jet.cli.common 2012-04-25 20:19:15 +04:00
Stepan Koltsov a034eefb51 js: rename "anonymous" ns to "root"
also use constant field instead of hardcoded literal in tests
2012-04-09 22:31:57 +04:00
Pavel V. Talanov 6cf51fb20a IDEAConfig move to idea module (circular dependency).
Slightly modify Config class.
2012-04-06 19:55:21 +04:00
Pavel V. Talanov 973c6f8d85 Read lib files for IDEA config from zip archive. 2012-04-04 16:08:11 +04:00
Pavel V. Talanov fc683e8141 Support for elvis operator. 2012-04-02 20:46:03 +04:00
Pavel V. Talanov 2650e9f6b0 Support when without expression.
#KT-1666 Fixed
2012-03-30 13:28:05 +04:00
Pavel V. Talanov 36e242a9e6 Add test for uncovered case. 2012-03-30 13:28:04 +04:00
Pavel V. Talanov 87381a06a7 Test for inline dangerous expressions.
Better FindPreviousVisitor#hasDangerous implementation.
2012-03-28 21:20:38 +04:00
Pavel V. Talanov e9f78b6fe2 Add test for another case. 2012-03-28 19:44:50 +04:00
Pavel V. Talanov fd1d6e8dfc Support inline for simple extension function case. 2012-03-28 19:42:57 +04:00
Pavel V. Talanov 9b2dc6f584 More cases supported for inline functions: namespace level functions with parameters (not blocks) 2012-03-28 19:42:55 +04:00
Pavel V. Talanov 8843bac989 First stab at inline functions. 2012-03-28 19:42:54 +04:00
Pavel V. Talanov 1e180f550f Fixed a problem which sometimes caused expressions to be evaluated in the wrong order. 2012-03-28 14:04:47 +04:00
Andrey Breslav a89e26b3ac Fixed test paths in JS tests 2012-03-24 08:13:57 +01:00
Pavel V. Talanov 807836322c Add a test for referencing classes using fqnames. 2012-03-19 16:51:31 +04:00
Pavel V. Talanov eeb3bc9a8e Support for namespace variables in nested namespaces. 2012-03-19 16:51:30 +04:00
Pavel V. Talanov 02da9b42c1 Support for simple cases when a namespace creates classes from other namespaces. 2012-03-19 16:51:29 +04:00
Pavel V. Talanov 6f87634b25 Add simple tests for using nested namespace. 2012-03-19 16:51:28 +04:00
Pavel V. Talanov 37cf07b557 Support a simple case with nested namespaces. 2012-03-19 13:45:24 +04:00
Pavel V. Talanov 090fd1b7f6 Fixes for cases where unexpected declaration descriptor hierarchy caused invalid scoping structure in js backend.
Minor refactorings.
2012-03-19 13:45:22 +04:00
pTalanov ad49ac158d Some solution for the case when a property which is a function is called. 2012-03-19 13:45:20 +04:00
pTalanov e30a22b778 Add a hacky solution to loop parameter capture problem. 2012-03-14 13:19:01 +04:00
pTalanov e331f27483 Introduce BackingFieldAccessTranslator.
Refactor AccessTranslationUtils, ReferenceTranslator.
Add test for namespace properties.
2012-03-14 13:19:01 +04:00
pTalanov b3e306ac32 KT-740
Turn on KT-740-3.kt test.
Fix a typo.
2012-03-14 13:19:00 +04:00
pTalanov af690fb02a KT-817 Wrong code on prefix increment operators. 2012-03-14 13:18:59 +04:00
Stepan Koltsov 9cdcc7b4f2 diagnostics 2012-03-13 23:25:07 +04:00
Andrey Breslav ca81d97b54 Year fixed in the copyright 2012-03-13 20:47:51 +04:00
pTalanov df2d9769fa KT-1359 Cannot declare object inheriting from a trait or class. 2012-03-13 15:50:09 +04:00
pTalanov 8b984551c1 KT-1519: Error calling native extension function from user defined extension function. 2012-03-13 15:50:08 +04:00
pTalanov 15437cbbf6 KT-1361: "this" is not treated correctly when object is created. 2012-03-13 15:50:07 +04:00
pTalanov d69988382b KT-1052: Infix calls do not work. 2012-03-13 13:48:53 +04:00
unknown 26a5ff3a2f Add disabled test. Depends on KT-1198 2012-03-09 19:22:14 +04:00
unknown beff2f9b1e KT-740: Make sure that assign and increment operations compute receiver only once:
- Array operations.
2012-03-09 19:22:13 +04:00
unknown 295b38bf32 KT-740: Make sure that assign and increment operations compute receiver only once:
- Increment operation on property.
2012-03-09 19:22:12 +04:00
unknown eced7048e3 Fix semicolon being on the wrong line in "use strict" expression 2012-03-09 19:22:10 +04:00
unknown 253b92a44d KT-1052: Add support for function calls (and, or, xor, not) on Boolean 2012-03-09 19:22:10 +04:00
pTalanov 566f53d9d0 Build fix attempt: got rid of SuiteBuilder class 2012-03-06 21:12:24 +04:00
pTalanov f6ad975269 Build fix attempt: reorganised test inheritance. 2012-03-06 20:44:43 +04:00
pTalanov e890cc7750 Add "use strict" to generated test files and to kotlin_lib.js 2012-03-06 20:24:17 +04:00
pTalanov 453c0103b3 Make K2JSTranslator#generateProgramCode public
Rename: convertToDotJsFile ->convertFileNameToDoJsFile
2012-03-06 16:09:31 +04:00
pTalanov 7b75697d6d Fix stream close in JsTestUtils 2012-03-06 16:09:29 +04:00
pTalanov ab3cdb9bd8 Add simple tests for interop with native code. 2012-03-02 20:05:16 +04:00
pTalanov 320ed18134 Hide string constant TEST_FILES. 2012-03-02 20:05:15 +04:00
pTalanov c38bf0bc86 Use minimal optimisation to slightly speed up the tests. 2012-03-02 20:05:14 +04:00
pTalanov c9cc2a385a Move TestConfig under test package 2012-03-02 20:05:13 +04:00