Commit Graph

539 Commits

Author SHA1 Message Date
Alexey Tsvetkov 818b197169 JS: support reified usage in extension functions 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov 79ab47d374 JS: support reified type references in closures 2015-05-13 12:15:29 +03:00
Alexey Tsvetkov 8cdff2439b JS: added reified is-check test cases 2015-05-13 12:15:29 +03:00
Ilya Gorbunov 18f3018ce7 js.stdlib: js-only tests now included in kotlin-js-tests module. 2015-05-09 01:10:47 +03:00
Alexey Tsvetkov 68603d188b JS: ExpressionDecomposer should always visit JsInvocation qualifier 2015-05-06 18:19:21 +03:00
Alexey Tsvetkov 8db104ef36 JS: decomposition should preserve 'this' context with invocations
#KT-7502 fixed
2015-05-06 18:19:21 +03:00
Dmitry Jemerov 702188bbe2 regenerate JS reserved words test 2015-04-29 16:50:22 +02:00
Alexey Tsvetkov 764c506aaa JS: do not generate break for top level return during inline 2015-04-24 18:19:34 +03:00
Alexey Tsvetkov cbdfaeb998 Minor in JS: store js test directives in a list 2015-04-24 18:19:34 +03:00
Alexey Tsvetkov bced28ee41 Minor in JS: simplify count vars directive 2015-04-24 18:19:34 +03:00
Alexey Tsvetkov 900147385d JS: do not alias 'this' literal in a receiver position 2015-04-24 18:19:34 +03:00
Alexey Tsvetkov 6b09b4c2b6 JS: do not create variable for result, if inline call is only return subexpression 2015-04-24 18:19:34 +03:00
Alexey Tsvetkov ea41bc4231 JS: do not create variable for result, if inline function has one top level return 2015-04-24 18:19:34 +03:00
Alexey Tsvetkov c9b24510bb JS: do not create var for result if statement is 'someVar = inlineCall()' 2015-04-24 18:19:33 +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
Zalim Bashorov 5ec8d72949 Minor: download Rhino as dependency instead of store it in the repository 2015-04-22 15:46:02 +03:00
Zalim Bashorov f59506c5e0 Minor: update rhino to 1.7.6 2015-04-22 12:48:22 +03:00
Zalim Bashorov 1ef9b9db1f JS backend: add the support function expression
#KT-7242 Fixed
2015-04-22 12:48:22 +03:00
Zalim Bashorov 6e60a31b73 JS backend: don't translate labels on expression
#KT-7487 Fixed
2015-04-22 12:48:20 +03:00
Zalim Bashorov 1fe93c302a Minor in JS tests: move dummy abstract classes into one file 2015-04-22 12:48:20 +03:00
Alexey Tsvetkov 8c01298930 JS: generated tests 2015-04-16 21:17:12 +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 f900cb36c5 JS: added inline evaluation order tests generation 2015-04-16 21:17:10 +03:00
Alexey Tsvetkov 24aa19bd49 JS: fixed nullability issues after conversion 2015-04-16 21:17:10 +03:00
Mikhail Glukhikh e4b1046a54 Minor bug fix: necessary !! added 2015-04-16 20:10:56 +03:00
Alexander Udalov 94df191f86 Regenerate tests 2015-04-10 20:26:34 +03:00
Michael Nedzelsky 1c7e1ddf26 JS: remove LibrarySourcesConfigWithCaching, introduce LibrarySourceConfig.Builder 2015-04-03 05:36:18 +03:00
Michael Nedzelsky 06aef3164c JS: use metadata in jps build process 2015-04-03 05:36:10 +03:00
Michael Nedzelsky 0951d69bdc JS: add metaInfo attribute to Config 2015-04-03 05:35:56 +03:00
Ilya Gorbunov 95c2a4fb29 Fix split method usage: split temporary replaced with splitBy. 2015-04-01 18:17:06 +03:00
Pavel V. Talanov b73bd697e6 Rename JetCoreEnvironment -> KotlinCoreEnvironemnt 2015-03-30 15:11:58 +03:00
Alexey Tsvetkov 03f0c6ede7 JS: added test for callable reference as stdlib inline function argument 2015-03-23 16:43:49 +03:00
Alexey Tsvetkov 1557111277 JS: fix issues with js() usage in inline functions 2015-03-23 16:43:49 +03:00
Zalim Bashorov 7d3094a0f1 JS backend: use FqNameUnsafe when generate delegateName to avoid problems with special names.
#EA-64029 Fixed
2015-03-17 19:00:50 +03:00
Pavel V. Talanov 06916d98c6 default -> companion: replace all mentions of default and default object 2015-03-17 15:47:39 +03:00
Ilya Ryzhenkov e448f40756 Rename Stream<T> to Sequence<T> and provide migration path via deprecated types and functions. 2015-03-12 22:56:43 +03:00
Michael Nedzelsky cea65e0770 add NotNull annotation into BasicTest 2015-03-12 16:35:25 +03:00
Pavel V. Talanov 2987e72d29 Do not report redeclaration when outer class and default object's members clash
Previously we prohibited classes and properties with the same name (now it's unnecessary)
Add test for backends that they support qualified (by default object name) member references inside class body
2015-03-11 21:06:05 +03:00
Zalim Bashorov f49e4ca3e9 JS backend: fixed accessing to native enum entries. 2015-03-10 14:30:45 +03:00
Alexey Tsvetkov 53dfd77d31 JS: added inline stdlib cases 2015-03-06 21:36:19 +03:00
Alexey Tsvetkov 083b506fe1 JS: test metadata generation 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
Nikolay Krasko 30a50746b5 Intrinsic default objects implementation: tests 2015-03-05 01:30:38 +03:00
Nikolay Krasko 8ea9d39e98 Do not generate long lines and simplify merge in generated tests 2015-02-24 13:15:09 +03:00
Alexey Tsvetkov 802a512899 JS: removed AstConsumer from tests 2015-02-20 16:01:26 +03:00
Alexey Tsvetkov f5eb39e1f1 JS: added TranslationResult 2015-02-20 16:01:26 +03:00
Pavel V. Talanov 1174010f33 JS backend: support named class objects
Temporary solution until named objects in classes are supported in js backend
2015-02-16 15:38:47 +03:00
Alexander Udalov 5903b8c4a7 Reorder and optimize dependencies between modules and libraries
- drop 'kotlin-runtime' and other dependencies which are exported by
  other modules ('util' and 'util.runtime' in case of 'kotlin-runtime')
- make all Kotlin modules from the compiler depend on 'util' for clarity
- put 'util' and 'util.runtime' to the bottom of the list everywhere: when
  kotlin-runtime gets reflection, classes from core/ should have higher
  priority than their previous versions from kotlin-runtime.jar
2015-01-28 19:58:35 +03:00
Alexander Udalov 17227bb4fe Rename org.jetbrains.kotlin.plugin -> org.jetbrains.kotlin.idea 2015-01-13 01:14:31 +03:00
Alexander Udalov 3b81d63334 Rename jet -> kotlin in compiler-tests (except resolve)
Move test-related code to org.jetbrains.kotlin.test, also move some tests to
packages with better names
2015-01-12 00:24:12 +03:00