Commit Graph

853 Commits

Author SHA1 Message Date
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
Alex Tkachman f3fa19e35d private constructors added 2012-07-24 10:59:28 +03: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
Andrey Breslav 5c94c5988f Unnecessary code removed 2012-07-23 19:38:27 +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 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 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 5414240fa6 Added comments for ConfigurationKind enum constants. 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 8124e477ce Renamed methods getUserData and putUserData to get and put, respectively. 2012-07-23 17:38:16 +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
Evgeny Gerashchenko a9564e7580 KT-2414 for (x in 0 downto 0) makes no steps
#KT-2414 fixed
2012-07-21 20:34:25 +04:00
Svetlana Isakova 18b6b53288 Merge pull request #106 from udalov/kt2457-fe
Senseless null in when (KT-2457 frontend part)
2012-07-20 09:25:35 -07:00
Alexander Udalov 0c0232f42b Senseless null in when (KT-2457 frontend part) 2012-07-20 19:51:48 +04:00
Svetlana Isakova 1cc54d178c regenerated tests 2012-07-20 19:47:16 +04:00
Svetlana Isakova 83ec7d9c68 old constraint system is not removed for a while 2012-07-20 19:34:51 +04:00
Pavel V. Talanov f861b69d7a Deal with cases when different visibility of overridden members could produce incorrect fake override.
(by Pavel Talanov and Andrey Breslav)
2012-07-20 18:31:05 +04:00
Pavel V. Talanov d262d06f2d Test for KT-2472. 2012-07-20 18:29:51 +04:00
Pavel V. Talanov b51306391f Refactor AbstractReadJavaBinaryClassTest.
Move compileJava to LoadJavaDescriptorUtil.
2012-07-20 18:29:50 +04:00
Alexander Udalov 2ac70ee35f KT-2457 Verify error when comparing not null value with null in when
backend-side changes
2012-07-20 17:43:38 +04:00
Andrey Breslav 2ee587d6c2 Overly exigent asserion removed 2012-07-20 14:19:58 +04:00
Andrey Breslav 9f6c79bccc Meaningful message 2012-07-20 11:50:04 +04:00
Alexander Udalov db008d5d38 KT-2466 "When" on boolean produces VerifyError
#KT-2466 Fixed
2012-07-19 21:39:41 +04:00
Andrey Breslav 98efc0276a Merge pull request #102 from udalov/kt2247
KT-2247 Report name clashes between inner classes and members of class object
2012-07-19 10:10:35 -07:00
Andrey Breslav bf503e9a4b KT-2363 Drop secondary constructors
#KT-2363 Fixed
2012-07-19 19:53:06 +04:00
Andrey Breslav 3403e6c95d Proper scoping for inner classes: they must shadow outer classes 2012-07-19 18:12:12 +04:00
Alexander Udalov eeacfb96a3 KT-2247 Report name clashes between inner classes and members of class object
#KT-2247 Fixed
2012-07-19 17:56:51 +04:00
Andrey Breslav dc95638741 Method cache for ClassDescriptorSerializer 2012-07-19 17:21:29 +04:00
Andrey Breslav 75b149f184 NamespaceComparator shows all mismatches it can find 2012-07-19 17:09:58 +04:00
Andrey Breslav f73bd4fd1d Members reordered to meet conventions 2012-07-19 17:09:58 +04:00
Andrey Breslav eb1a279c67 Lazy resolve: Objects don't show up as classifiers 2012-07-19 17:09:57 +04:00
Andrey Breslav 43a00b9787 Class objects explicitly marked in the test data 2012-07-18 17:44:12 +04:00
Andrey Breslav d3427169fb Optimize indent() implementation 2012-07-18 16:34:12 +04:00
Andrey Breslav 07b8613025 Speed up sorting of members
We put "!" in front of the names of members, then while sorting we simply chop off the part of the string before "!"
2012-07-18 16:34:12 +04:00
Dmitry Jemerov 1ac60dae5e don't use PSI for calculating the type of first argument of trait function implementation 2012-07-13 16:12:33 +02:00
Andrey Breslav 17169b1244 NamespaceComparator moved to test.util 2012-07-13 12:31:22 +04:00
Andrey Breslav b167e0dd49 Method cache to speed up dispatch 2012-07-13 12:31:22 +04:00
Andrey Breslav 969a798998 Pre-compile pattern for performance 2012-07-13 12:31:22 +04:00
Andrey Breslav 44d92d8eb3 Support for checking loaded descriptors agains an expected txt file 2012-07-13 12:31:21 +04:00
Andrey Breslav 55ff4ae941 Abstract Lazy test for gianostics 2012-07-13 12:31:21 +04:00
Dmitry Jemerov 40e4e32eab object declarations need trait methods to be generated too (KT-2399) 2012-07-12 17:45:41 +02:00
Dmitry Jemerov de3f5d0e2d avoid coercing 'this' to a supertype; cleaner handling of stackvalues for 'this' and 'super' (KT-2395) 2012-07-11 16:59:01 +02:00
Andrey Breslav 739a1f8245 Diagnostics tests prepared for the Lazy version 2012-07-11 17:10:30 +04:00
Andrey Breslav 09802271a8 Debug string fixed 2012-07-11 16:57:33 +04:00
Andrey Breslav 7ec49eafb9 Using standard utilities for files loading 2012-07-11 16:47:54 +04:00