Commit Graph

35236 Commits

Author SHA1 Message Date
Alexander Udalov 0d4bd2a673 Use OperatorNameConventions constants instead of hardcoded literals 2016-11-11 19:00:09 +03:00
Alexander Udalov 61767bb0ea Minor, annotate visibility constants with NotNull
To avoid nullability warnings on ClassDescriptor#getVisibility and
implementations
2016-11-11 19:00:08 +03:00
Alexander Udalov 65882579bc Minor, add toString() for debug 2016-11-11 19:00:08 +03:00
Alexander Udalov 9e9c548ca3 Minor, print more debug info on serializing error annotation 2016-11-11 19:00:07 +03:00
Valentin Kipyatkov 0ef5f662ad KT-14732 Slow typing, copy-pasting, highlighting in Kotlin files due to auto-import suggestion calculation in EDT
#KT-14732 Fixed
2016-11-11 16:45:14 +03:00
Dmitry Jemerov 3d3a202601 KotlinWithGradleConfigurator: cleanup after J2K 2016-11-11 14:39:18 +01:00
Dmitry Jemerov 47c80a1ad1 KotlinWithGradleConfigurator: J2K 2016-11-11 14:39:18 +01:00
Dmitry Jemerov 11c9dff97a KotlinWithGradleConfigurator: rename to .kt 2016-11-11 14:39:18 +01:00
Dmitry Jemerov 3d01e92dd6 use DOM instead of MavenProjectsManager to detect whether Kotlin is configured (KT-9275) 2016-11-11 14:39:18 +01:00
Dmitry Jemerov ebbf8888bb Change KotlinProjectConfigurator API to return module status as a single enum instead of two distinct boolean values 2016-11-11 14:39:18 +01:00
Dmitry Jemerov d8c7f2ffdb KotlinProjectConfigurator: J2K 2016-11-11 14:39:18 +01:00
Dmitry Jemerov 7d442f9ca2 KotlinProjectConfigurator: rename to .kt 2016-11-11 14:39:18 +01:00
Alexey Andreev f2c392d4e7 JS: minor fix after rebase 2016-11-11 16:26:41 +03:00
Alexey Andreev 6649e0cb82 JS: remove intrinsics for progressions 2016-11-11 16:26:40 +03:00
Alexey Andreev dcb95eb9f0 JS: refactor range and progression related intrinsics 2016-11-11 16:26:40 +03:00
Alexey Andreev 5ef8879aae JS: fixes after code review 2016-11-11 16:26:39 +03:00
Alexey Andreev a72ea64142 JS: fix translation of lambdas in public inline functions; fix AMD emulation for Ant test 2016-11-11 16:26:39 +03:00
Alexey Andreev 6791ed7bf3 JS: fix obsolete tests 2016-11-11 16:26:38 +03:00
Alexey Andreev a452260da6 JS: simplify merging kotlin.js 2016-11-11 16:26:38 +03:00
Alexey Andreev ac4bfc645e JS: refactor translation of callable references to top-level properties 2016-11-11 16:26:38 +03:00
Alexey Andreev 0252fe57af JS: refactor flat declaration generator. Add more tests on inter-module dependencies 2016-11-11 16:26:37 +03:00
Alexey Andreev cc38bd3146 JS: refactor code that exports local declaration from current module 2016-11-11 16:26:37 +03:00
Alexey Andreev f244bbaae3 JS: change how declarations are exported from modules. Change how parts of kotlin.js merged 2016-11-11 16:26:36 +03:00
Alexey Andreev 3d9beb15da JS: fix translation of !! operation 2016-11-11 16:26:36 +03:00
Alexey Andreev cacd917350 JS: fix translation of extension properties 2016-11-11 16:26:36 +03:00
Alexey Andreev 0f87703c87 JS: rewrite code that copies interface members with implementation to subtypes 2016-11-11 16:26:35 +03:00
Alexey Andreev 8eca8efae5 JS: fix some bugs:
1. Fix translation of FQN in inline lambdas
2. Fix StringBuilder.length
3. Workaround order of declaration of names for imported declarations
2016-11-11 16:26:35 +03:00
Alexey Andreev fd158a6922 JS: refactor Dart AST 2016-11-11 16:26:34 +03:00
Alexey Andreev bec1e526a1 JS: fix generation of bridge methods for non-abstract methods inherited from interfaces 2016-11-11 16:26:34 +03:00
Alexey Andreev bb57eaef96 JS: fix some minor issues in new flat translator 2016-11-11 16:26:34 +03:00
Alexey Andreev 06476402a2 JS: support enums in flat JS structure 2016-11-11 16:26:33 +03:00
Alexey Andreev 54925e7f83 JS: remove test for reserved words 2016-11-11 16:26:33 +03:00
Alexey Andreev 38a3f4af80 JS: fix Kotlin.isType for case of traits 2016-11-11 16:26:32 +03:00
Alexey Andreev 20396b0e5f JS: fix inlining in a new flat JS generator 2016-11-11 16:26:32 +03:00
Alexey Andreev e13d34e08d JS: rewrite stdlib to compile with new flat structure 2016-11-11 16:26:31 +03:00
Alexey Andreev f9a392fdec JS: introduce new flat JS declaration structure 2016-11-11 16:26:31 +03:00
Zalim Bashorov f1ae9949fe Regenerate tests 2016-11-11 15:49:09 +03:00
Dmitry Petrov b429f7bc86 KT-14581 Make FixStackAnalyzer tolerant to uninitialized values 2016-11-11 13:30:15 +03:00
Alexey Andreev 71ef8c4f89 JS: fix exception in JS front-end when checking JsName that was resolved with errors 2016-11-11 11:11:19 +03:00
Ilya Chernikov d2ba25e758 Fix script util test 2016-11-10 23:37:09 +01:00
Dmitry Petrov 6876f0e4d2 Support type aliases as bare types after 'is/as'. 2016-11-10 18:33:50 +03:00
Mikhael Bogdanov 21f2febf82 Fix for KT-13557: VerifyError with delegated local variable used in object expression
#KT-13557 Fixed
2016-11-10 15:12:16 +01:00
Dmitry Jemerov e68dcdcc1e Fix companion object definition in the grammar (KT-8566) 2016-11-10 13:40:57 +01:00
Dmitry Jemerov 2c989b5671 Fix enumEntries definition in grammar (KT-14261) 2016-11-10 13:40:49 +01:00
Dmitry Jemerov a0b6b3c248 Fix labelDefinition link in grammar (KT-14262) 2016-11-10 13:40:31 +01:00
Dmitry Petrov 37eedc3703 Hack: do not add trivial constraints (t <: Any?) for constituent types,
otherwise nested calls handling logic in old inference wouldn't work for type alias constructors.
2016-11-10 14:54:11 +03:00
Dmitry Petrov 549ae59562 Inference for type alias constructor type arguments: better error reporting. 2016-11-10 14:54:11 +03:00
Dmitry Petrov 94d7bd7a6b KT-14641: Nested type alias reference via an instance is an error. 2016-11-10 14:54:11 +03:00
shiraji a662d777e8 Implement "Remove redundant '.let' call" binary operator support #KT-14396 Fixed 2016-11-10 14:26:14 +03:00
Mikhail Glukhikh ce72337ebd Effective visibility is now considered private for invisible fake #KT-14469 Fixed 2016-11-10 13:42:58 +03:00