Michael Nedzelsky
4b2d3ba3d0
JS backend: tests for KT-6401 JS: wrong result for code with many spread operator
2014-12-23 16:02:38 +03:00
Michael Nedzelsky
5bf1d73199
JS backend: tests for translation for extension property
2014-12-04 02:42:04 +03:00
Alexander Udalov
8dae1b62dd
Add CharSequence.subSequence
...
This is done primarily for JVM interoperability, otherwise it's impossible to
inherit from CharSequence there. On JS subSequence at the moment just invokes
substring.
#KT-5956 Fixed
2014-11-27 20:38:19 +03:00
Michael Nedzelsky
5f576c4c05
JS backend: test for toGenerator from stdlib
2014-11-11 17:08:56 +03:00
Alexey Tsvetkov
78e12f7cfa
JS backend minor: removed license from test cases
2014-10-27 15:58:49 +03:00
Zalim Bashorov
66519d9973
Added regression tests for KT-1906 Support invoke() convention is js-backend (including classes implementing Function trait)
...
#KT-1906 Fixed
2014-10-21 22:46:09 +04:00
Zalim Bashorov
f3d9d21757
Added regression tests for KT-3518 Null pointer during null comparison in JS Backend.
2014-10-21 22:46:09 +04:00
Zalim Bashorov
fedbe26480
Minor: added regression tests for KT-4235
...
#KT-4235 Obsolete
2014-10-21 18:25:16 +04:00
Michael Nedzelsky
12e76f3d04
JS backend: test for KT-2901: nullable type in string template
2014-10-10 17:04:18 +04:00
Michael Nedzelsky
e5bbc2a0d8
JS backend: support for Throwable.getMessage
2014-10-09 19:32:00 +04:00
Michael Nedzelsky
b15963d3fb
JS backend: fix KT-5603 (Multiple catch): add tests
2014-10-09 19:31:51 +04:00
Zalim Bashorov
5a63e34c19
JS tests: fix testData files
2014-10-06 23:18:53 +04:00
Zalim Bashorov
25172d797e
JS tests: disable Rhino optimization by default.
2014-10-06 23:18:52 +04:00
Svetlana Isakova
20f3403c80
Rename: this object, receiver argument -> dispatch receiver, extension receiver
2014-10-01 18:52:51 +04:00
Michael Nedzelsky
2e4e5c5d1d
JS backend: tests for Long type support
2014-09-28 19:51:51 +04:00
Zalim Bashorov
ef60a7f776
JS backend: fixed crash when use lambda or local function inside enum method.
2014-09-26 00:57:09 +04:00
Michael Nedzelsky
e6a17cbd78
JS backend: tests for KT-5772
2014-09-23 14:50:20 +04:00
Michael Nedzelsky
1b60f39959
JS backend: test for KT-4381: JS: fails to iterate over Double range
...
#KT-4381 obsolete
2014-09-18 15:01:11 +04:00
Zalim Bashorov
838c384672
"js" -> "kotlin.js"
2014-09-16 19:32:37 +04:00
Zalim Bashorov
0c0d049de7
Minor in JS backend: drop unnecessary inline annotations.
2014-09-16 18:07:37 +04:00
Svetlana Isakova
61dc110cc7
Report 'break or continue outside a loop'
...
for break/continue outside a loop body (e.g. in loop condition)
#KT-5724 Fixed
2014-09-07 01:03:57 +04:00
Michael Nedzelsky
3578845e87
JS backend: add support for break, return, continue, throw in expressions
2014-09-03 20:48:52 +04:00
Michael Nedzelsky
f5963ebfe9
JS backend: test for KT-4225: Compiler to JavaScript produces semantically wrong code
...
This issue was fixed in build 0.8.541
2014-09-02 22:53:00 +04:00
Michael Nedzelsky
0e41411c75
JS backend: fix TranslationUtils.isCacheNeeded
2014-09-02 22:52:57 +04:00
Michael Nedzelsky
5967b6637f
JS backend: fix translation for || and && (create new tmp variable if needed)
2014-09-02 22:52:53 +04:00
Michael Nedzelsky
ab0df532bc
JS backend: for with label, fix KT-5257 JS: for with continue with label fails on runtime, and KT-5262 JS: wrong code for for over range when start greater end
...
#KT-5257 Fixed
#KT-5262 Fixed
2014-09-02 22:52:39 +04:00
Michael Nedzelsky
76757b14e2
JS backend: new tests for use break, continue and return in &&, ||, ?:
2014-08-22 02:17:11 +04:00
Michael Nedzelsky
d969e58b88
JS backend: support for while/do while with complex conditions
2014-08-22 02:17:08 +04:00
Michael Nedzelsky
53f0e6dcd2
JS backend: remove dangerous package, correct translation for call, assignments, binary operations, support try...catch as expression
...
#KT-5576 Fixed
#KT-5594 Fixed
#KT-3166 Fixed
#KT-5545 Fixed
#KT-5594 Fixed
#KT-5258 Fixed
JS backend: fix KT-4879: extra side effect when use when in default arguments
#KT-4879 Fixed
JS backend: improve and fix WhenTranslator, fix order of evaluation for condtitions, fix KT-5263 (JS: extra tmp when initialize val in when by expression with if)
#KT-5263 Fixed
2014-08-22 02:17:00 +04:00
Michael Nedzelsky
629d9a275b
JS backend: fix dangling else issue in generated code for JsToStringGenerationVisitor
...
JS backend: fix KT-5253: when with if inside
#KT-5253 Fixed
2014-08-22 02:16:56 +04:00
Michael Nedzelsky
bfa8fea5b8
JS backend: move patternMatching tests to expression/when
2014-08-22 02:16:53 +04:00
Michael Nedzelsky
9456833a35
JS Backend: #KT-5320 Fixed (generated code for ternary operator)
2014-07-22 13:08:31 +04:00
Alexey Tsvetkov
dd3dbe5b10
JS backend: _commonFiles/ for common kotlin files in testData/ and every test dir
2014-07-11 22:36:20 +04:00
Zalim Bashorov
444932d4c1
JS backend: fixed wrong NPE when casting to generic type.
2014-06-26 14:55:56 +04:00
Michael Nedzelsky
209315baad
JS backend: fix translation when statement -- now WhenTranslator returns JsBlock instead of hackish adding statements to context block.
...
It fixed the compiler crashing when translating `for`/`when`/`if` with `when` statement(KT-5234) and KT-5058.
#KT-5234 fixed
#EA-57346 fixed
#KT-5058 fixed
2014-06-18 21:20:28 +04:00
Alexander Udalov
d78d4bc44c
Disallow extension properties with backing fields
...
#KT-1682 Fixed
2014-05-29 21:24:05 +04:00
Zalim Bashorov
898275e658
JS backend: added tests for infix calls.
...
#KT-3998 in progress
#EA-56241 in progress
2014-05-08 19:57:28 +04:00
Alex Tkachman
371dfc6ec4
avoid unnecessary null checks when receiver of '!!' or 'as' operator is not nullable
2014-03-29 21:28:00 +03:00
Andrey Breslav
2a724a6eb4
Filename case fixed
2014-03-20 11:28:32 +04:00
Svetlana Isakova
f311da3f8f
Supported invoke on expressions on js backend
2014-03-20 10:06:00 +04:00
Zalim Bashorov
7b503bbe6f
Minor in JS backend: added regression tests.
...
#{KT-2219, KT-2470, KT-2507, KT-2222, KT-2995, KT-2221} Obsolete
2014-03-13 22:57:41 +04:00
Alexey Tsvetkov
21f87350b9
JS backend: added tests for KT-4159.
2014-03-12 19:01:55 +04:00
Zalim Bashorov
209f7e8d51
JS backend: minor -- dropped temporary hack after KT-4517 fixed.
2014-03-11 20:05:40 +04:00
Zalim Bashorov
344ce6c095
JS backend: fixed name clash between public function w/o parameters and non-public function with same name.
2014-03-11 20:05:39 +04:00
Zalim Bashorov
ec71a90394
JS backend : added test for local extension function.
2014-03-11 20:04:02 +04:00
Zalim Bashorov
14ed970dc3
JS backend: added the support extension functions as expression.
2014-03-11 20:04:02 +04:00
Zalim Bashorov
442215e829
JS backend: testFiles -> testData
2014-03-11 20:04:00 +04:00