Commit Graph

34 Commits

Author SHA1 Message Date
Ilya Gorbunov 4d5ec9be3f Drop identityEquals from builtins, compiler and tests. 2016-01-22 05:54:38 +03:00
Ilya Gorbunov 25c4453dc5 Cleanup deprecated symbol usages in testData 2016-01-22 05:54:38 +03:00
Yan Zhulanow 9d1af5a17e Fix tests: "infix modifier required" and "operator modifier required" errors 2015-11-27 15:51:11 +03:00
Yan Zhulanow a3ff3ffc45 Fix tests: "Placing function type parameters after the function name" error 2015-11-27 15:51:11 +03:00
Mikhail Glukhikh 4e44466cf9 Exposed visibility deprecation warnings made errors + relevant test fixes 2015-11-20 15:21:01 +03:00
Mikhail Glukhikh f8a356747e Stdlib rename: 'name' and 'ordinal' are now properties in Enum, same name functions are deprecated 2015-10-14 20:40:13 +03:00
Denis Zharkov 73799e2c3c Replace deprecated lambda syntax in testData
It's done with similar constructions where possible trying to preserve
intended behavior.
Some usages are removed because they test exactly the feature that
we are going to drop soon.
2015-09-25 08:29:25 +03:00
Denis Zharkov 098f5462eb Drop inlineOptions and fix forgotten usages 2015-09-23 12:18:12 +03:00
Ilya Gorbunov 0e3e33e5c1 Fix deprecations in testData: js semantics. 2015-09-19 05:04:05 +03:00
Denis Zharkov 9dada595b6 Replace deprecated annotations with modifiers in testData 2015-09-18 10:14:41 +03:00
Denis Zharkov e401a98a2b Replace native with @native in js testData 2015-09-18 10:14:34 +03:00
Denis Zharkov 9adde77c47 Replace inlineOption(ONLY_LOCAL_RETURN) with crossinline in testData 2015-09-18 10:14:33 +03:00
Michael Nedzelsky f6892580f6 fix tests in org.jetbrains.kotlin.js.test.semantics 2015-09-08 02:06:19 +03:00
Mikhail Glukhikh 94a00540be Targeting / retention for a set of standard annotations, some inapplicable annotation checks replaced with target check, some fixed tests 2015-07-21 15:36:53 +03:00
Denis Zharkov c9f79c2d05 Adjust testData: get rid of obsolete annotations 2015-06-12 09:23:31 +03:00
Ilya Gorbunov 1566ea83c7 Rename conflicting repeat function with the same behavior from js tests. 2015-05-26 23:23:39 +03:00
Alexey Tsvetkov fd09d4d837 Minor in JS: moved test for additional vars during inline to separate directory 2015-04-24 18:19:33 +03:00
Alexey Tsvetkov ff5090136c JS: do not extract expressions, when inline call can be expression 2015-04-16 21:17:12 +03:00
Alexey Tsvetkov 97a1a13235 JS: inline componentN functions
#KT-7294 fixed
2015-04-16 21:17:12 +03:00
Alexey Tsvetkov 05c44db80f JS: inline all calls in a statement in one pass 2015-04-16 21:17:09 +03:00
Stanislav Erokhin 3de0dff575 Migrate testdata to new lambda syntax 2015-04-07 13:08:53 +03:00
Alexey Tsvetkov 1557111277 JS: fix issues with js() usage in inline functions 2015-03-23 16:43:49 +03:00
Pavel V. Talanov 06916d98c6 default -> companion: replace all mentions of default and default object 2015-03-17 15:47:39 +03:00
Alexey Tsvetkov 083b506fe1 JS: test metadata generation 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov 25f6a4aa0a JS: added spread operator inline test case 2015-03-06 21:36:18 +03:00
Alexey Tsvetkov ea0253770b JS: use generation for some tests 2015-03-06 21:36:18 +03:00
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Alexey Tsvetkov 78e12f7cfa JS backend minor: removed license from test cases 2014-10-27 15:58:49 +03:00
Alexey Tsvetkov 09c98226c8 JS backend: added tests for labels 2014-10-20 19:51:35 +04:00
Alexey Tsvetkov 5fb5cea4a3 JS inline: fixed bug with simple return inline function, when result is not used.
When function body can be expression
(contains only one statement, and it's return),
 result was saved to resultExpr, not body.

 But when result was not used, resultExpr was not
 used then.

 Fixed by checking, that result is used in first place.
2014-10-16 17:16:10 +04:00
Zalim Bashorov 5a63e34c19 JS tests: fix testData files 2014-10-06 23:18:53 +04:00
Alexey Tsvetkov 3f2d4b31be JS test: added inline tests 2014-10-03 14:23:47 +04:00
Alexey Tsvetkov 1dcc096753 JS test: removed legacy inline tests 2014-10-03 14:23:47 +04:00
Zalim Bashorov 442215e829 JS backend: testFiles -> testData 2014-03-11 20:04:00 +04:00