Commit Graph

13 Commits

Author SHA1 Message Date
Zalim Bashorov 619854a7a3 JS frontend: additional check for nativeSetter -- check that the return type is either Unit or a supertype of the second parameter's type. 2014-12-30 19:10:38 +03:00
Zalim Bashorov 9869ae10e5 JS frontend: allow to omit body for native functions and initializer for native properties. Additionally suppress UNUSED_PARAM for new nativeX annotations too. 2014-12-29 21:37:18 +03:00
Zalim Bashorov 92984a37ea Js frontend: prohibit default values for functions annotated as nativeIndexer. 2014-12-16 18:30:05 +03:00
Zalim Bashorov 4c3073d03e JS frontend tests: add test cases with declare member extension functions. 2014-12-16 18:30:04 +03:00
Zalim Bashorov 2484954e2f Frontend tests: serialize dynamic call descriptors and check them in diagnostic tests. 2014-12-16 17:48:26 +03:00
Zalim Bashorov a6597e8926 Frontend: allow omit types in lambda parameters of dynamic call when lambda declareted inside parentheses. 2014-12-15 18:22:15 +03:00
Zalim Bashorov 59c4f55988 Frontend: allow to use the spread operator in dynamic calls. 2014-12-15 18:18:38 +03:00
Zalim Bashorov 4ac3cbc384 Frontend: allow omit types in lambda parameters of dynamic calls. 2014-12-15 18:12:53 +03:00
Svetlana Isakova 7a5124215a Updated test data for Array<out T> vararg type 2014-12-12 23:08:28 +03:00
Andrey Breslav d17edacb65 Discriminate calls with implicit dynamic receivers 2014-12-10 16:18:38 +03:00
Andrey Breslav c9c16696f1 Do not fail when delegating to an (unsupported) dynamic type on the JVM 2014-12-01 20:43:46 +03:00
Andrey Breslav e10d29a10b JS-specific tests moved to a separate directory 2014-12-01 20:43:46 +03:00
Zalim Bashorov 31d4a8c226 JS frontend: added tests for nativeInvoke, nativeGetter, nativeSetter. 2014-12-01 15:27:38 +03:00