Commit Graph

7017 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 5cd7df95a1 Added proper equals and hashCode methods to range classes. 2012-07-31 22:15:07 +04:00
Evgeny Gerashchenko 1a1661c15f Minor 2012-07-31 22:15:07 +04:00
Evgeny Gerashchenko 5667e76f4f Added Int.indices extension property. 2012-07-31 22:15:07 +04:00
Evgeny Gerashchenko 69313ae3be Removed redundant null checking. 2012-07-31 22:15:07 +04:00
Alexander Udalov 926e01be9c decrease recursion depth to fix failing codegen test on Android 2012-07-31 20:45:06 +04:00
Evgeny Gerashchenko 7e81898b9f Reverted debug output. 2012-07-31 20:25:03 +04:00
Evgeny Gerashchenko 7370107616 Optimized reading external annotations: now they when annotations file is accessed, it's parsed data is stored in cache. 2012-07-31 20:16:05 +04:00
Alexander Udalov dcd5cad427 KT-2280 Recursive function declared in function results in VerifyError
#KT-2280 Fixed

A closure's constructor should not take an instance of itself as an
argument, because it would require caller to pass yet uninitialized
value. Instead it should initialize a corresponding field with 'this'
2012-07-31 19:38:14 +04:00
Pavel V. Talanov b883bf6ef5 Adopt more tests for functions from codegen tests.
Create test for KT-2565.
2012-07-31 18:51:13 +04:00
Pavel V. Talanov 0710efdc16 Add tests for newly discovered issue with ECMA5 and top level vars in root scope. 2012-07-31 18:51:12 +04:00
Evgeny Gerashchenko 942c1ee9d9 Reverted fix for KT-2042 Kotlin SDK must be explicitly specified for each module that uses Kotlin
#KT-2042 reopened
2012-07-31 18:19:40 +04:00
Maxim Manuylov 1f3aa6699c fix tests 2012-07-31 17:36:20 +04:00
Nikolay Krasko 8839630ef7 Move to 120.286 build on local build server 2012-07-31 17:18:56 +04:00
Evgeny Gerashchenko 72c39dc903 Renamed doDoMain -> doMainNoExit. 2012-07-31 16:45:13 +04:00
Maxim Manuylov 95c9c11d8d fix test data 2012-07-31 16:43:58 +04:00
Maxim Manuylov 2d6158b9d8 annotations 2012-07-31 16:43:58 +04:00
Maxim Manuylov a8cd11f0f9 more tests for compiler 2012-07-31 16:43:56 +04:00
Maxim Manuylov 0813e6bc1c ability to print command line arguments via system property 2012-07-31 16:43:20 +04:00
Maxim Manuylov 7eba14bcf1 compiler must print some info on wrong arguments 2012-07-31 16:43:20 +04:00
Evgeny Gerashchenko 01ef9133d4 Using custom CompilerConfigurationKey in CompilerConfiguration API. 2012-07-31 16:33:45 +04:00
Evgeny Gerashchenko 340a3537ff Got rid of using UserDataHolderBase: using HashMap instead. Thread safety is not neccessary for CompilerConfiguration. 2012-07-31 16:33:45 +04:00
Evgeny Gerashchenko 9a5fc78b85 Removed factory methods from JetCoreEnvironment since they only invoke constuctor. 2012-07-31 16:33:45 +04:00
Evgeny Gerashchenko 17e3738084 Added read-only mode for complier configuration. 2012-07-31 16:33:45 +04:00
Evgeny Gerashchenko edb2e0e3b6 Got rid of creating JetCoreEnvironment which wont be used when compiling modules from module script. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 75ce5b3a1b Removed obsolete comment. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 4d56bd4b59 Inlined createCompilerConfiguration(), since configuration filling logic is doExecute() method. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 2727aa7da4 Gor rid of K2JVMCompileEnvironmentConfiguration and CompileEnvironmentConfiguration. Using JetCoreEnvironment instead of K2JVMCompileEnvironmentConfiguration. 2012-07-31 16:33:44 +04:00
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