Commit Graph

4254 Commits

Author SHA1 Message Date
Stepan Koltsov 3c714b1178 DECLARATION_TO_DESCRIPTOR may fail on fake overrides
see 4b94eb5e2b
2012-02-14 17:34:37 +04:00
Stepan Koltsov 1d2e02afb4 use MutableClassDescriptorLite instead of MutableClassDescriptor
where MutableClassDescriptor is not necessary
2012-02-14 17:34:29 +04:00
Evgeny Gerashchenko 2565684563 Added checking traversal in live template tests. 2012-02-14 14:42:08 +04:00
Dmitry Jemerov 7332476427 Merge branch 'master' of git.labs.intellij.net:jet 2012-02-14 11:32:59 +01:00
Evgeny Gerashchenko 7ce86a138e Added simple IDE templates test which checks that folding worked normally. 2012-02-14 14:21:17 +04:00
Andrey Breslav d32cc7992a Update ReadMe.md 2012-02-14 00:10:32 +01:00
Andrey Breslav 191c01668f Add "run build.xml" to the build instructions 2012-02-14 00:09:54 +01:00
Stepan Koltsov e3fdc5d595 fix a case of fake override of abstract and non-abstract function
===
open class Ccc() {
    fun foo() = 1
}

trait Ttt {
    fun foo(): Int
}

class Zzz() : Ccc(), Ttt // there must not be an error here
===

Reported by Andrey Breslav as a bug of Comparator implementation:

===
fun comparator<T>(f: (T, T) -> Int): Comparator<T> = object : Comparator<T>, Object() {
    override fun compare(o1: T, o2: T): Int = f(o1, o2)
}
===
2012-02-13 23:34:01 +04:00
Evgeny Gerashchenko 37eb7d7e63 Removed trailing newline characters in test cases for 'interface' and 'main' live templates. 2012-02-13 22:28:51 +04:00
Evgeny Gerashchenko 8c75c408c1 Added tests for anonymous template 2012-02-13 22:04:41 +04:00
Evgeny Gerashchenko a790616eef Added test for 'void' live template. 2012-02-13 21:42:39 +04:00
Evgeny Gerashchenko 1c8ca38380 Added tests for interface and singleton. 2012-02-13 21:41:24 +04:00
Evgeny Gerashchenko c895f502f9 Added test for closure template. 2012-02-13 21:38:33 +04:00
Evgeny Gerashchenko 1bd56b7121 Added tests for exfun/exval/exvar. 2012-02-13 21:35:34 +04:00
Evgeny Gerashchenko bb06bcab6c Added tests for fun0, fun1, fun2. 2012-02-13 21:35:33 +04:00
Evgeny Gerashchenko db8fa0dd0a Added test for soutp. 2012-02-13 21:35:33 +04:00
Evgeny Gerashchenko 1060e44137 Added test for soutv. 2012-02-13 21:35:33 +04:00
Evgeny Gerashchenko 98db9c741f Added test for main. 2012-02-13 21:35:33 +04:00
Evgeny Gerashchenko 5e408f13f5 Added test four sout/serr. 2012-02-13 21:35:33 +04:00
Evgeny Gerashchenko 404921eb37 Test file names to lower case. 2012-02-13 21:35:33 +04:00
Evgeny Gerashchenko 468d31b5e8 Refactored LiveTemplatesTest to make adding new tests simpler. 2012-02-13 21:35:33 +04:00
Evgeny Gerashchenko 53e643ca33 Added checking of result in LiveTemplatesTest. 2012-02-13 21:35:33 +04:00
Stepan Koltsov 7fb880e585 fix constructor signature write fix after ace34b01bc 2012-02-13 21:30:14 +04:00
Evgeny Gerashchenko 2af5c81736 Added simple live template test for iter live template. 2012-02-13 20:28:03 +04:00
Evgeny Gerashchenko b1db3aa8a5 Added CompileEnvironment.dispose() in KotlinCompiler to restore original Application after compilation. 2012-02-13 20:28:03 +04:00
Nikolay Krasko be5eeb2546 KT-985 Don't show the default package in the completion list 2012-02-13 20:03:29 +04:00
Evgeny Gerashchenko 8b9403ac0f Reverted my commits to restore build. 2012-02-13 19:53:03 +04:00
Evgeny Gerashchenko 07ab67f289 Added simple live template test for iter live template. 2012-02-13 18:39:26 +04:00
Evgeny Gerashchenko 0a3c5dcbc1 Added analague of JetLightProjectDescriptor with using current JDK and kotlin runtime library. 2012-02-13 18:39:10 +04:00
Evgeny Gerashchenko 30fc19ad82 ForTestCompileStdlib now is invoked in separate process to avoid substituting JarFileSystem and other global components with other incompatible components. 2012-02-13 18:38:41 +04:00
Nikolay Krasko 4dff90734e KT-1231 Don't insert () after completion function in imports 2012-02-13 16:23:40 +04:00
Nikolay Krasko 936144a193 KT-1235 Indent size in IDEA is always 4? 2012-02-13 14:39:45 +04:00
Nikolay Krasko f0d4742957 Remove temporary test 2012-02-13 14:39:31 +04:00
Nikolay Krasko a1ef17fade Enable test 2012-02-13 14:29:33 +04:00
Evgeny Gerashchenko c566204966 Fixed "Can't make indentation with pressing Tab"
#KT-1241 fixed
2012-02-13 14:22:17 +04:00
Alex Tkachman 845e873296 KT-1159 test for obsolete issue 2012-02-13 09:54:12 +02:00
Alex Tkachman ace34b01bc KT-1202 object construction fix 2012-02-13 08:34:10 +02:00
Pavel Talanov ec6b006bbb refactor qualifier generation logic 2012-02-12 18:55:20 +04:00
Pavel Talanov 9e3001215b support extension function safe calls and extension literal safe call 2012-02-12 18:37:50 +04:00
Pavel Talanov f98c24c6aa reorder the method of call translator 2012-02-12 16:52:45 +04:00
Pavel Talanov 4abf0db10c get rid of the rest of translate methods in CallTranslator 2012-02-12 16:48:01 +04:00
Pavel Talanov c505ecc846 refactoring CallTranslator:
introduce CallBuilder
remove CallTranslator.Builder
introduce CallExpressionTranslator
2012-02-12 16:34:39 +04:00
Alex Tkachman 84ed18c7e2 KT-1149 static type info field for unarameterized traits 2012-02-12 09:04:18 +02:00
Alex Tkachman be5e11f2a5 KT-1172 test for obsolete issue 2012-02-12 08:28:49 +02:00
Alex Tkachman 9f4ef7fb6a KT-1186 test added 2012-02-11 13:04:26 +02:00
Alex Tkachman a2b602a440 KT-694 - support for simple enums 2012-02-11 13:00:28 +02:00
Alex Tkachman d81ca43b6e KT-1047 - obsolete. test added 2012-02-11 11:48:50 +02:00
Alex Tkachman 8d9434548f KT-1199 - test and fix for erased case 2012-02-11 11:09:02 +02:00
Pavel Talanov 254ed6de14 implement CallType logic 2012-02-10 22:34:34 +04:00
Andrey Breslav a9e1eb3615 Add j2k to the plugin 2012-02-10 21:33:05 +04:00