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
Pavel V. Talanov
bce399f5fd
Rename: AnalyzeExhaust -> AnalysisResult
2014-11-21 15:56:05 +03:00
Nikolay Krasko
e1d51e9879
Minor: code enhancements
2014-11-17 16:15:22 +03:00
Michael Nedzelsky
dd86823480
JS backend: compile some builtins to builtins.js instead of stdlib
2014-11-11 17:09:00 +03:00
Michael Nedzelsky
5f576c4c05
JS backend: test for toGenerator from stdlib
2014-11-11 17:08:56 +03:00
Zalim Bashorov
b3defdbf90
JS tests: create JetFiles by JetPsiFactory instead of by PsiManager to avoid to access to PsiManager after it disposed.
...
That fixed js tests after changes in DiagnosticsWithSuppression.
2014-11-07 16:30:51 +03:00
Zalim Bashorov
8067a9ad56
Added regression tests for KT-2474 Range lacks reverse() in JavaScript backend
...
#KT-2474 Fixed
2014-10-21 22:46:09 +04: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
b3e34cc2b4
Minor: added regression tests for downTo.
...
Adopted tests from patch attached to KT-2586.
2014-10-21 18:25:17 +04:00
Alexander Udalov
f8be39b26b
Regenerate tests
...
After recent changes to Printer and TestGenerator
2014-10-21 00:16:08 +04:00
Alexey Tsvetkov
09c98226c8
JS backend: added tests for labels
2014-10-20 19:51:35 +04:00
Alexey Tsvetkov
0bc05135d8
JS test minor: renamed InlineTestUtils to DirectiveTestUtils
2014-10-20 19:51:35 +04:00
Alexey Tsvetkov
6d16d06120
JS test: extracted test with ast access and directives
2014-10-20 19:51:34 +04:00
Alexander Udalov
624e507ec2
Make enum classes comparable
...
#KT-3727 Fixed
2014-10-17 21:27:23 +04:00
Michael Nedzelsky
34269e1a3e
JS backend: fix KT-6037 (default arguments in simple function with expression as body)
...
#KT-6037 Fixed
2014-10-17 00:46:05 +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
Alexey Tsvetkov
be82d4c661
JS backend: increment counter for fresh names
2014-10-16 17:16:10 +04:00
Zalim Bashorov
55c19a632a
JS lib: introduced different output strategies, and chose them depending of environment.
...
#KT-2994 Fixed
2014-10-14 18:02:28 +04:00
Michael Nedzelsky
edac2dd3bd
JS backend: tests for KT-2468
2014-10-14 16:45:54 +04:00
Zalim Bashorov
ae39524a95
JS backend: compile primitive iterators from builtins as part of stdlib.
2014-10-13 21:25:55 +04:00
Pavel V. Talanov
b2c288b62a
Test super calls in enum literals
2014-10-10 18:12:56 +04:00
Pavel V. Talanov
bb5998048f
Test code generation for enum deriving from a trait
2014-10-10 17:43:33 +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
Michael Nedzelsky
0c3a7a9d99
add more tests for bridge methods (fake override)
2014-10-07 08:37:18 +04:00
Michael Nedzelsky
04d8960a3d
JS backend: add BridgeTestGenerated
2014-10-07 08:36:50 +04:00
Michael Nedzelsky
6f1d362917
JS backend: add getPackageName to BasicTest, checkBlackBox to SingleFileTranslationTest
2014-10-07 08:36:22 +04:00
Michael Nedzelsky
b84e5969e2
JS backend: fix get mangling name for generic methods with multiply upper bounds
2014-10-07 08:36:18 +04:00
Zalim Bashorov
b5ee5877ce
JS backend: kotlin_lib_compiled -> stdlib.
2014-10-06 23:18:53 +04:00
Zalim Bashorov
9ac193407b
Fixed JS test runner: save only stdlib module from run to run.
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
Zalim Bashorov
20f20f9441
JS tests: refactored StdLibTestBase and derived classes.
2014-10-06 23:18:52 +04:00
Zalim Bashorov
b72b036bdb
JS tests: refactored BasicTest class.
2014-10-06 23:18:52 +04:00
Zalim Bashorov
c8278fd887
JS backend: refactor Configs.
2014-10-06 23:18:52 +04:00
Zalim Bashorov
dd1fffae40
Minor in JS tests: load and cache kotlin_lib_compiled.js
2014-10-06 23:18:52 +04:00
Zalim Bashorov
ce4bbb906b
JS tests: disabled linter.
2014-10-06 23:18:51 +04:00
Zalim Bashorov
36bad02e67
Minor in JS tests: cleanup RhinoFunctionResultChecker and dependent classes.
2014-10-06 23:18:51 +04:00
Zalim Bashorov
0e075c7d5f
JS backend: added the ability to turn off the inline optimization.
2014-10-03 14:23:53 +04:00
Alexey Tsvetkov
15e963de25
JS test: turn rhino optimization off for stdlib tests
2014-10-03 14:23:48 +04:00
Alexey Tsvetkov
3f2d4b31be
JS test: added inline tests
2014-10-03 14:23:47 +04:00
Alexey Tsvetkov
987708680f
JS test: JS AST access from 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
Alexey Tsvetkov
0484df00c3
JS test: added test utils
2014-10-03 14:23:47 +04:00
Svetlana Isakova
20f3403c80
Rename: this object, receiver argument -> dispatch receiver, extension receiver
2014-10-01 18:52:51 +04:00
Alexey Tsvetkov
b70466f9f3
KT-5673: added tests
2014-09-29 21:35:30 +04:00
Alexey Tsvetkov
3424142b65
KT-4773: added tests
2014-09-29 21:35:30 +04:00
Zalim Bashorov
916cfb7051
Regenerate testData for reservedWords after take was fixed.
2014-09-29 19:47:49 +04:00
Michael Nedzelsky
098b4c170f
JS backend: fix KT-4297 PrimitiveHashMap returns wrong keys (string instead of original type)
2014-09-29 17:46:33 +04:00