Commit Graph

6990 Commits

Author SHA1 Message Date
Evgeny Gerashchenko a76c2bf2eb Removed unused K2JSCompilerEnvironmentConfiguration class. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 940c09fc8a Passing message collector via CompilerConfiguration. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 33c661e7f3 Passing compiler plugins via CompilerConfiguration. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 8dfa3d8ce9 Moved everything but environment and messageCollector from K2JVMCompileEnvironmentConfiguration to CompilerConfiguration. 2012-07-31 16:33:44 +04:00
Pavel V. Talanov 957a494c53 Adapt some tests from codegen for k2js translator.
Tests for default arguments.
2012-07-31 13:18:25 +04:00
Pavel V. Talanov 49e51220d7 Correct equals for tuples. 2012-07-31 13:18:24 +04:00
Pavel V. Talanov e0ff877b47 Fix for a bug that caused invalid code generated for calling extension from another extension. 2012-07-31 13:18:24 +04:00
Alexander Udalov 7609d0de8c testcase for EA-37609 2012-07-30 20:58:42 +04:00
Evgeny Gerashchenko 5b6cf7b1d2 Minor formatting issue. 2012-07-30 19:49:49 +04:00
Alexander Udalov a286c475e4 test for KT-1939
#KT-1939 fixed
2012-07-30 19:20:04 +04:00
Nikolay Krasko d9893d9940 EA-36815 Fixed (assert: JetLookupObject.equals) 2012-07-30 19:14:31 +04:00
Alexander Udalov cb9c18b7ad KT-2498 Bridge method is not generated for method when generic parameters are substituted in superclass
#KT-2498 Fixed

generateBridgeIfNeeded() now works as follows: for a given method, find
which declared methods does this method override via breadth-first search.
For each such declared method, generate a bridge if and only if its
signature is different. Keep different methods' signatures in a set to
avoid duplicated bridge signatures.
2012-07-30 18:27:01 +04:00
Pavel V. Talanov dad946b58d Revert changes to ClassPathLibrary*
Cosmetics also.
2012-07-30 15:50:19 +04:00
Nikolay Krasko 6fe6f03e2c Revert accidental commited files from 2a16ec0 2012-07-30 15:49:19 +04:00
Natalia.Ukhorskaya 912304893e Android module: fix stopRedundantEmulators method 2012-07-30 15:30:39 +04:00
Alex Tkachman 4685679eaf Merge remote branch 'origin/master' 2012-07-30 13:25:19 +03:00
Alex Tkachman a98cd7aa0f script renamed 2012-07-30 13:24:59 +03:00
Alexander Udalov 36e0da0c29 Merge pull request #99 from udalov/kt2382
KT-2382 Placing final modifier to overriden method in trait produces runtime exception
2012-07-30 02:40:58 -07:00
Alexander Udalov b55ef01e54 KT-2382 Placing final modifier to overriden method in trait produces runtime exception
#KT-2382 Fixed
2012-07-30 13:31:11 +04:00
Alex Tkachman c14a0b3c84 refactoring of script definition api 2012-07-30 09:26:30 +03:00
Alex Tkachman 003b2c64a7 file separator issue 2012-07-30 00:14:25 +03:00
Alex Tkachman 7c2d394412 properr names for scripts 2012-07-29 23:58:45 +03:00
Alex Tkachman f8391619a5 configurable script languages 2012-07-29 21:32:53 +03:00
Alex Tkachman 5cda223ce4 fixed compilation 2012-07-28 20:47:18 +03:00
Alex Tkachman b8bfde3102 in-memory compilation of standalone script 2012-07-28 20:32:18 +03:00
Alex Tkachman 0b327d29bc fix KT-2481: no bridge for supercall 2012-07-28 14:17:42 +03:00
Alex Tkachman eaee4e9cc7 Merge pull request #112 from udalov/kt2541
KT-2541 VerifyError on substituting type after inheritance from trait
2012-07-27 22:29:02 -07:00
Pavel V. Talanov e291c30f82 Refactoring. Cosmetics.
Access level. Final modifiers. Unused parameters... etc.
2012-07-27 20:29:40 +04:00
Pavel V. Talanov 40c14c6533 Refactoring.
Dead code elimination. Missing annotations.
2012-07-27 20:29:40 +04:00
Andrey Breslav c02e54678e Descriptors with error types can override each other 2012-07-27 20:16:57 +04:00
Andrey Breslav f78d26c89a java.lang.Object methods included into tests' output 2012-07-27 20:16:57 +04:00
Andrey Breslav 6c6317740c Omport order fixed: the current package must have the highest priority 2012-07-27 20:16:57 +04:00
Andrey Breslav 58ec90d7ee Don't compare the whole JDK in LR diagnostic tests 2012-07-27 20:16:56 +04:00
Andrey Breslav 2b957fdfa0 Selective recursion 2012-07-27 20:16:56 +04:00
Andrey Breslav d6523c95ad NON_RECURSIVE definition fixed 2012-07-27 20:16:56 +04:00
Andrey Breslav 020aa66a73 Assertion message corrected 2012-07-27 20:16:56 +04:00
Alexander Udalov fe1e6fc0d3 KT-2541 VerifyError on substituting type after inheritance from trait
#KT-2541 Fixed
2012-07-27 19:43:14 +04:00
Pavel V. Talanov f37fae6e29 KT-2310: js: !! translated incorrectly (syntax ok, but logic not).
#KT-2310 Fixed
2012-07-27 18:00:03 +04:00
Evgeny Gerashchenko 42e00102f8 Removed redundant "final" keywords at variables and parameters. 2012-07-27 17:57:30 +04:00
Pavel V. Talanov 04d9b4685b KT-2177: object literal as initializer value for class/object property — undefined variable generated.
Just test.

 #KT-2177 Fixed
2012-07-27 17:36:11 +04:00
Pavel V. Talanov b234294863 Better message for long constants. 2012-07-27 17:36:11 +04:00
Andrey Breslav 99bf7553e0 NamespaceComparator.Configuration introduced 2012-07-27 17:13:54 +04:00
Andrey Breslav 3e37f21403 Extracting shortnames of toplevel packages factored out as a utility method 2012-07-27 12:32:49 +04:00
Andrey Breslav 781c1f4eb0 Test implementation simplified 2012-07-27 12:30:47 +04:00
Maxim Manuylov ada74af225 detect bundled SDK automatically 2012-07-26 20:08:58 +04:00
Maxim Manuylov 9d75359f55 fix tests 2012-07-26 20:08:58 +04:00
Maxim Manuylov 715f4ad0db improve error texts 2012-07-26 20:08:58 +04:00
Maxim Manuylov b6258beb87 fix sdk finding 2012-07-26 20:08:58 +04:00
Maxim Manuylov 843fb8d7a9 refactor PathUtil - it is a big difference now, whether we find sdk home from plugin or from compiler 2012-07-26 20:08:58 +04:00
Maxim Manuylov e5589e1037 better reporting of sdk version 2012-07-26 20:08:58 +04:00