Commit Graph

6874 Commits

Author SHA1 Message Date
Pavel V. Talanov 7de982ba2f Fix for converting negative floating point to integer values. 2012-07-23 19:50:47 +04:00
Pavel V. Talanov 3ce9022f6b KT-2342: Type mismatch on Int division.
# KT-2342 Fixed
2012-07-23 19:50:47 +04:00
Andrey Breslav 69e1b8d407 More test data for LR 2012-07-23 19:38:27 +04:00
Andrey Breslav 5c94c5988f Unnecessary code removed 2012-07-23 19:38:27 +04:00
Andrey Breslav 05ad042710 LR: Newly supported test data 2012-07-23 19:38:27 +04:00
Andrey Breslav 1eefbd4c75 Test data updated in accrdance with recent logic chnages in OverrideResolver 2012-07-23 19:38:26 +04:00
Evgeny Gerashchenko 45672cf7e2 Added workaround to KT-2493 to get maven build back to life. 2012-07-23 19:21:43 +04:00
Evgeny Gerashchenko 3af9540702 Fixed compilation of kdoc. 2012-07-23 18:50:36 +04:00
Evgeny Gerashchenko e76aeb43a8 Removed unnecessary XML escaping. 2012-07-23 18:50:36 +04:00
Evgeny Gerashchenko 6736e3d6d6 Optimized imports in kdoc project. 2012-07-23 18:50:36 +04:00
Evgeny Gerashchenko aea01d9638 Replaced non-ASCII symbol to fix compilation. 2012-07-23 18:39:28 +04:00
Evgeny Gerashchenko 0c4e23e438 Added assertion in JetCoreEnvironment.addToClasspath() prohibiting to invoke it when environment is initialized. 2012-07-23 17:38:20 +04:00
Evgeny Gerashchenko 7f12dcbc24 Got rid of post-init adding classpath in all tests. 2012-07-23 17:38:20 +04:00
Evgeny Gerashchenko 044b6bf435 Removed unused methods. 2012-07-23 17:38:20 +04:00
Evgeny Gerashchenko 49680d9a9a Removed unused method. 2012-07-23 17:38:19 +04:00
Evgeny Gerashchenko 4dc4b295d2 Made addSources and addExternalAnnotationsRoot method private in JetCoreEnvironment. 2012-07-23 17:38:19 +04:00
Evgeny Gerashchenko 0dffe7a85c Creating environment each time when compiling modules. 2012-07-23 17:38:19 +04:00
Evgeny Gerashchenko 1f7db5fb03 Added copy method to CompilerConfiguration. 2012-07-23 17:38:19 +04:00
Evgeny Gerashchenko 1d35cf2729 Storing CompilerConfiguration in JetCoreEnvironment. 2012-07-23 17:38:19 +04:00
Evgeny Gerashchenko 13e62f1222 Adding sources to configuration before JetCoreEnvironment creation for CLI. Except for module case, because it's pretty complex. 2012-07-23 17:38:19 +04:00
Evgeny Gerashchenko ba2ca55848 Removed unused method. 2012-07-23 17:38:19 +04:00
Evgeny Gerashchenko b8543bed22 Passing sources via compiler configuration on analyzing module script. 2012-07-23 17:38:19 +04:00
Evgeny Gerashchenko f45494548f Passing sources via compiler configuration in K2JSCompiler. 2012-07-23 17:38:18 +04:00
Evgeny Gerashchenko ea6c4116df Passing sources via compiler configuration in BytecodeCompiler. 2012-07-23 17:38:18 +04:00
Evgeny Gerashchenko 8f4b7444f7 Passing sources via compiler configuration in TestlibTest. 2012-07-23 17:38:18 +04:00
Evgeny Gerashchenko abfc54d5ab Removed unused KotlinToJVMBytecodeCompiler.compileText method and test for it. 2012-07-23 17:38:18 +04:00
Evgeny Gerashchenko 4609360bcc Removed unused method. 2012-07-23 17:38:18 +04:00
Evgeny Gerashchenko b771a61d30 Rewritten CompileTextTest so it doesn't add class path to already created configuration. Removed JetCoreEnvironment.addToClasspathFromClassLoader() method. 2012-07-23 17:38:18 +04:00
Evgeny Gerashchenko 916f34ea7e Added parameter to JetCoreEnvironment.createCoreEnvironmentForJS. 2012-07-23 17:38:18 +04:00
Evgeny Gerashchenko d8b0070f1e Added SOURCE_ROOTS_KEY for compiler configuration. 2012-07-23 17:38:17 +04:00
Evgeny Gerashchenko 8aee0e0543 Adding source roots right after JetCoreEnvironment creation. 2012-07-23 17:38:17 +04:00
Evgeny Gerashchenko 5414240fa6 Added comments for ConfigurationKind enum constants. 2012-07-23 17:38:17 +04:00
Evgeny Gerashchenko f43b617fd8 More neat adding JDK to configuration used for module script compilation. 2012-07-23 17:38:17 +04:00
Evgeny Gerashchenko e54767e9a6 Removed unused methods. 2012-07-23 17:38:17 +04:00
Evgeny Gerashchenko 58ff66b46c Eliminated JetCoreEnvironment.configure() method. Actual setting classpath/annotations path is performed in constructor instead. 2012-07-23 17:38:17 +04:00
Evgeny Gerashchenko ffca0409d4 Changed types of JVM configuration keys from arrays to lists. 2012-07-23 17:38:17 +04:00
Evgeny Gerashchenko 4332a60b31 Added handy add/addAll/getList methods for list keys in CompilerConfiguration. 2012-07-23 17:38:16 +04:00
Evgeny Gerashchenko 8124e477ce Renamed methods getUserData and putUserData to get and put, respectively. 2012-07-23 17:38:16 +04:00
Evgeny Gerashchenko 7c7a64bc6b Replaced unnecessary inheritance with delegation. 2012-07-23 17:38:16 +04:00
Evgeny Gerashchenko d32d2c0bda Reformatted Ant task code according to coding conventions. 2012-07-23 17:38:16 +04:00
Evgeny Gerashchenko ae92d435d6 Removed checking for DELEGATE_KEY in ClsClassImpl, since alt-headers are not loaded anymore. 2012-07-23 17:38:16 +04:00
Evgeny Gerashchenko b26dd5d7c3 Reverted accidentally commited files. 2012-07-23 17:36:07 +04:00
Evgeny Gerashchenko fb8d5d3903 Putting kotlin-jdk-annotations.jar into lib directory instead of lib/alt. 2012-07-23 17:24:05 +04:00
Andrey Breslav 46737dfb11 Don't create constructors for traits 2012-07-23 16:41:23 +04:00
Andrey Breslav df14462497 Trace record guarded for enums' class objects 2012-07-23 15:58:47 +04:00
Andrey Breslav ab283184a9 Debug name for DESCRIPTOR_TO_DECLARATION fixed 2012-07-23 15:27:32 +04:00
Andrey Breslav ea7e7f01fb Qualified "this" supported by lazy resolve:
- Appropriate scope methods implemented
- Class declarations recorded in the binding trace
2012-07-23 13:43:35 +04:00
Andrey Breslav 1500b1783d Clarifying messages 2012-07-23 13:42:37 +04:00
Evgeny Gerashchenko 5858726c65 Added editor error strip when Kotlin JDK annotations are not set. 2012-07-22 22:13:12 +04:00
Evgeny Gerashchenko c2024b68e6 Minor changes. 2012-07-22 22:11:45 +04:00