Commit Graph

19426 Commits

Author SHA1 Message Date
Andrey Breslav 3a8ca2608d Report error on native members of traits 2014-12-16 16:23:30 +03:00
Andrey Breslav a94a1f8a6f Report error on native declaration with a body 2014-12-16 16:23:30 +03:00
Andrey Breslav d4cf789b53 Report error on native abstract declarations 2014-12-16 16:23:30 +03:00
Andrey Breslav 76e2ae2005 Do not complain about missing bodies on native functions 2014-12-16 16:23:29 +03:00
Andrey Breslav 19d0ad7e10 Use newer dex to verify Kotlin bytecode in tests 2014-12-16 16:23:29 +03:00
Andrey Breslav 27d403ee23 Make native class object members delegate to static methods in the outer class 2014-12-16 16:23:28 +03:00
Andrey Breslav d20651b881 Support native on [platformStatic] functions 2014-12-16 15:17:33 +03:00
Andrey Breslav cba6652c05 Simplistic support for native flag 2014-12-16 15:17:33 +03:00
Svetlana Isakova b0889f0760 Minor: fixed toString 2014-12-16 14:41:56 +03:00
Svetlana Isakova bda5bab057 Captured type might be substituted in an opposite projection
out Captured (in Int) = out Int
 in Captured (out Int) = in Int
2014-12-16 14:41:56 +03:00
Nikolay Krasko 8f6f404f14 Change the way of runtime configuration in JsePsiUnifierTest 2014-12-16 13:15:35 +03:00
Nikolay Krasko 37cea8a720 Unconfigure runtime to avoid affecting further tests 2014-12-16 12:58:56 +03:00
Alexey Sedunov bbf951ff03 Move: Fix reference binding for the case of default target package
#KT-6457 Fixed
2014-12-15 20:43:00 +03:00
Alexey Sedunov bbbd46d9d6 Move: Do not add package directive if target package is empty
#KT-6455 Fixed
2014-12-15 20:42:59 +03:00
Nikolay Krasko da6e1890bd Don't lookahead too far when looking for '.' between type and parameters and for comma in function literal parameters 2014-12-15 20:20:09 +03:00
Nikolay Krasko 421bb57f50 Fix parser performance: don't do the additional lookahead when looking for the comma in parameters 2014-12-15 20:20:08 +03:00
Nikolay Krasko ba849b5940 Minor: get string with parser context during debug 2014-12-15 20:20:08 +03:00
Nikolay Krasko 4fa97c917d Warn if lookahead is too big in matchTokenStreamPredicate() 2014-12-15 20:20:07 +03:00
Evgeny Gerashchenko 6c15472bf9 Minor. Regenerated test. 2014-12-15 19:38:11 +03:00
Evgeny Gerashchenko 6abe5a425c Finding usages (which have references) in text when plaint text occurrences are not searched. 2014-12-15 19:24:04 +03:00
Alexey Tsvetkov 834725b260 JS parser minor: removed broken @see in javadoc 2014-12-15 19:16:22 +03:00
Alexey Tsvetkov 669cbb203b Reload rendrer when application changes (for tests) 2014-12-15 19:16:22 +03:00
Alexey Tsvetkov c78b199c0a JS test minor: fixed recursion test for inliner
After changes in translator exception is no longer wrapped into another one
2014-12-15 19:16:21 +03:00
Alexey Tsvetkov 6115e1afec JS parser: use map for keyword search 2014-12-15 19:16:21 +03:00
Alexey Tsvetkov b2cd437230 JS parser: removed RESERVED token type 2014-12-15 19:16:21 +03:00
Alexey Tsvetkov 0fac9b3673 JS parser: removed unused classes and methods 2014-12-15 19:16:21 +03:00
Alexey Tsvetkov 0d6b4c6590 JS parser: removed unused decompilation info 2014-12-15 19:16:21 +03:00
Alexey Tsvetkov 272788cb27 JS parser: fixed JsInvocation mapping 2014-12-15 19:16:21 +03:00
Alexey Tsvetkov 46326fe5ac JS backend: report backend diagnostics 2014-12-15 19:16:21 +03:00
Alexey Tsvetkov 348a452e01 JS backend: report parser errors and warnings 2014-12-15 19:16:21 +03:00
Alexey Tsvetkov a9c21b97f9 JS parser minor: moved isEndOfLine method to Utils 2014-12-15 19:16:21 +03:00
Alexey Tsvetkov 7c6629e38a JS parser: pass ErrorReporter to JsParser 2014-12-15 19:16:21 +03:00
Alexey Tsvetkov 3658698f4f JS backend: pass diagnostics to TranslationContext using config 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov 5530ad84e5 JS parser: use different positions for parser and lexer errors 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov 5323fe920d JS parser: save token positions 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov 5b1319b535 JS parser: removed unused messages 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov 714b719204 JS parser: static messages load 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov 21d51147bf JS parser: fixed labelled break/continue 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov 939a8cce4e JS parser: removed @ from @author tag because of JetCodeConformanceTest 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov 8c643d78f8 JS backend minor: formatting 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov bc7afdf0b8 JS backend: expand jsCode at translator 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov 41af895caa JS backend: added jsCode definition 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov c3f67c54bd JS backend: added jsCode test cases 2014-12-15 19:16:20 +03:00
Alexey Tsvetkov 97bbcab77d JS parser: added description string to constructor arguments 2014-12-15 19:16:19 +03:00
Alexey Tsvetkov c814b9a8b8 JS parser: renamed sourceNameStub to comply with a codestyle (UPPERCASE) 2014-12-15 19:16:19 +03:00
Alexey Tsvetkov f69398b915 JS parser: literals creation 2014-12-15 19:16:19 +03:00
Alexey Tsvetkov 5256a99c54 JS parser: added insideFunction flag 2014-12-15 19:16:19 +03:00
Alexey Tsvetkov 420df315b4 JS parser: added NUMBER_INT token type 2014-12-15 19:16:19 +03:00
Alexey Tsvetkov 570010ed5c JS parser: fixed expression statement mapping 2014-12-15 19:16:19 +03:00
Alexey Tsvetkov 8f33dea8d3 JS parser: removed source info creation 2014-12-15 19:16:19 +03:00