Commit Graph

2972 Commits

Author SHA1 Message Date
Pavel V. Talanov cd1ca92f74 KT-53: Allow generic parameter passing for properties.
Obsolete issue.

 #KT-53 Fixed
2012-07-25 14:48:40 +04:00
Pavel V. Talanov fd78340897 KT-310: Tell the user when something is a property and not a function.
#KT-310 Fixed
2012-07-25 14:00:03 +04:00
Pavel V. Talanov 84217393f6 KT-304: Resolve supertype reference to class anyway.
#KT-304 Fixed
2012-07-25 14:00:02 +04:00
Pavel V. Talanov 1efd02effe KT-789 Code generation fails: size property of collections.
Only test.

#KT-789 Fixed
2012-07-25 14:00:01 +04:00
Pavel V. Talanov 22af8f7296 KT-304: Resolve supertype reference to class anyway.
#KT-304 Fixed
2012-07-25 14:00:01 +04:00
Andrey Breslav ba9bf15bc3 Test data updated to meet cli-parser-1.1 output 2012-07-25 12:40:26 +04:00
Andrey Breslav cee77c3b7e JetCoreEnvironment implementaion over the new environment design in intellij-core 2012-07-25 12:07:20 +04:00
Andrey Breslav 03f73e8f8c Visitors in tests migrated to ASM 4.0 2012-07-25 12:07:20 +04:00
Andrey Breslav 6df2017d82 ASM printing API has changed 2012-07-25 12:07:20 +04:00
Andrey Breslav 5f3643804c Import directives migrated from ASM 3.3 to 4.0 with renamed packages 2012-07-25 12:07:19 +04:00
Andrey Breslav 839c39c70d Migrate build and project configuration to IntelliJ IDEA 12 (Leda) EAP
Major changes: ASM is switched from vanilla 3.3 to a 4.0 with renamed packages,
because this is done inside IDEA and we depend on that transitively.
Thus the jarjar renaming in build.xml, old library binaries deleted.

Also we now depend on exact IDEA build (EAP), not "last successful".
2012-07-25 12:07:19 +04:00
Andrey Breslav 29bc36b69c Merge pull request #109 from udalov/kt2438
KT-2438 Prohibit inner classes with the same name
2012-07-24 07:51:35 -07:00
Alexander Udalov 4712dd759c KT-2438 Prohibit inner classes with the same name
Rewrite checkClassObjectInnerClassNames() to also
check for name clashes between inner classes of a
single class
 #KT-2438 Fixed
2012-07-24 16:25:17 +04:00
Pavel V. Talanov b216bbb844 KT-619 Type inference fails
#KT-619 Fixed
2012-07-24 15:53:39 +04:00
Nikolay Krasko a3cbd37e5f An attempt to to increase idea responsibility
#KT-2494 In Progress
2012-07-24 12:59:26 +04:00
Evgeny Gerashchenko 7bf32e238b Added workaround for backend bug to fix kdoc generator. 2012-07-24 12:52:46 +04:00
Alex Tkachman f3fa19e35d private constructors added 2012-07-24 10:59:28 +03:00
Alex Tkachman 97abf9ee85 Merge pull request #108 from udalov/kt2423
KT-2423 Jump after condition check in inner loop is to the wrong label
2012-07-23 09:59:14 -07:00
Alexander Udalov 6eb4cf5aa5 KT-2423 Jump after condition check in inner loop is to the wrong label
#KT-2423 Fixed
2012-07-23 20:11:27 +04:00
Evgeny Gerashchenko 2eb16d2f26 Added private constructor. 2012-07-23 20:06:40 +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 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 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 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