Commit Graph

2549 Commits

Author SHA1 Message Date
svtk 930eb255b2 fix after merge 2012-01-24 16:58:29 +04:00
svtk 428681f1d3 'add primary constructor fix' changed to 'change to invocation fix' (for delegators to super class) 2012-01-24 16:58:29 +04:00
svtk 70d0cd882b KT-650 Prohibit creating class without constructor 2012-01-24 16:58:29 +04:00
Alex Tkachman ee5fcccda9 Merge remote branch 'origin/master' 2012-01-24 14:48:27 +02:00
Alex Tkachman 8176487c93 changed synchronized from extension method to normal one 2012-01-24 14:48:09 +02:00
Nikolay Krasko fa6109a843 KT-1036 JetFile -> PsiJavaFile cast problem - one more test for changed diagnostic behaviour 2012-01-24 16:32:41 +04:00
Alex Tkachman e61a9f62ba crazy bug with constructing object of the same class as calling class 2012-01-24 13:30:38 +02:00
Nikolay Krasko 5613cb90f9 KT-1036 JetFile -> PsiJavaFile cast problem 2012-01-24 15:00:07 +04:00
Stepan Koltsov 590a81feae test Tuple0 is properly mapped/unmapped 2012-01-24 00:38:30 +04:00
Stepan Koltsov 614ee5d690 java.lang.String in signature should serialized and mapped back to java.lang.String 2012-01-24 00:38:26 +04:00
Stepan Koltsov f21ad2f536 fix couple of bugs in constructor signature serialization/parsing 2012-01-23 22:49:46 +04:00
Stepan Koltsov 8dd62f124a fix testlib test: compile own java classes 2012-01-23 22:49:40 +04:00
Stepan Koltsov 4b7f3f718e ReadKotlinBinaryClassTest: fix constructor with type parameter
class ClassWithConstructorAndTypeParameter<P>()
2012-01-23 20:19:37 +04:00
Stepan Koltsov 45cc0cd99e properly read fields of array type from java bytecode
KT-1086
2012-01-23 19:12:19 +04:00
Andrey Breslav ca6f04eb55 'erased' annotation supported for type parameters. This is for internal use only. 2012-01-23 17:49:05 +04:00
Nikolay Krasko 2cde87525e Remove manual inserting new lines 2012-01-23 17:44:04 +04:00
Nikolay Krasko c52e56740d KT-983 Code completion for not-imported classes - Show kotlin classes (another temp commit) 2012-01-23 15:20:57 +04:00
Maxim Shafirov 0f70f098b3 Screen menu on Macs for shared IDEA configuration“ 2012-01-23 15:11:25 +04:00
Evgeny Gerashchenko a0867144f3 Added asm library sources to repository. 2012-01-23 13:26:20 +04:00
Nikolay Krasko 280b0712f9 Inherited JDK for jet.as.java.psi.iml module and removing annotations reference 2012-01-23 11:29:23 +04:00
Stepan Koltsov a76c1c7f4e temp diag to fix test on TeamCity 2012-01-23 04:12:12 +04:00
Stepan Koltsov 1fc608c900 fix paths in ForTestCompileStdlib 2012-01-23 03:59:14 +04:00
Stepan Koltsov 4767e5c935 split TestlibTest into two tests
* old tests attaches stdlib sources to testlib classpath
* new test compiles stdlib into stdlib.jar and then adds stdlib.jar to testlib classpath
2012-01-23 03:37:09 +04:00
Stepan Koltsov 19b206378d Allow to specify java launcher options for bin/kotlin 2012-01-23 03:37:04 +04:00
Evgeny Goldin 1030fcf016 Ant task - <kotlinc module=".."/> support + test 2012-01-22 20:52:00 +02:00
Evgeny Goldin 7356abf447 Ant task - "buildToolsBootstrap" target to prepare "${bootstrap-dir}/kotlinc" 2012-01-22 19:15:14 +02:00
Evgeny Goldin 5fef229297 Ant task - main "build.xml" - back to "${idea.sdk}/*.jar" 2012-01-22 17:57:54 +02:00
Evgeny Goldin 317ef287e5 Ant task - "setup-kotlin-home" checks availability of "bootstrap.compiler", set in TC environment 2012-01-22 17:13:36 +02:00
Evgeny Goldin 11dbb76363 Ant task - main "build.xml" updates; "setup-kotlin-home" checks ${kotlin-home} availability; "longer-examples-tests" - Java runs disabled (fail right now) 2012-01-22 16:55:23 +02:00
Evgeny Goldin 127aab109d Ant task tests - print/println implementation removed from examples. 2012-01-21 19:34:20 +02:00
Alex Tkachman 5add400e5e Merge remote branch 'origin/master' 2012-01-20 20:21:25 +01:00
Maxim Shafirov 53f7c9d007 Avoid dropping config/system on each IDEA binaries update 2012-01-20 20:35:41 +04:00
svtk 496ced4f1a test for default std.io.* 2012-01-20 19:32:12 +04:00
svtk b3eb44e769 removed some string methods from library.jet 2012-01-20 19:32:12 +04:00
Maxim Shafirov f541cce098 Get full/core versions of IDEA using update_dependencies.xml. Don't use plugin SDK anymore. 2012-01-20 19:17:32 +04:00
Alex Tkachman 35a1240dc7 KT-1018: better handling of property visibility 2012-01-20 14:21:38 +01:00
svtk 8ec8fa47a4 KT-1078 Problem with visibility in do-while 2012-01-20 14:52:48 +04:00
Alex Tkachman b4b1ec1bb5 Merge remote branch 'origin/master' 2012-01-20 11:05:02 +01:00
Alex Tkachman aa2baf1eff tiny diagnostics improvments 2012-01-20 11:04:48 +01:00
svtk c09806da79 KT-1066 false 'Variable cannot be initialized before declaration' 2012-01-20 14:01:31 +04:00
svtk 936a081bae KT-1075 No type check for 'in range' condition in 'when' expression 2012-01-20 12:10:34 +04:00
svtk e2189f53e1 KT-1071 import the std.io package by default (tests after KT-842) 2012-01-20 12:00:33 +04:00
svtk 7fae503a38 KT-1080 Don't use previously imported packages while resolving import references 2012-01-20 11:58:17 +04:00
Stepan Koltsov 746279ed56 diagnostics in mkdirs 2012-01-19 20:33:37 +04:00
Stepan Koltsov b360d2ada3 test for bytecode generation of kotlin code against descriptors loaded from binary classes
test is:
1. compile file A
2. compile file B with binary class A in classpath
3. execute some code from file B
2012-01-19 20:16:09 +04:00
Stepan Koltsov 8125a1003e move some tests into "compiler" subpackage 2012-01-19 20:16:05 +04:00
Stepan Koltsov b6590a3814 codegen: fix calls to global functions when loaded from java descriptors 2012-01-19 18:05:00 +04:00
Nikolay Krasko 021fb14c77 KT-1065 No completion between function name and call brackets 2012-01-19 17:13:37 +04:00
Andrey Breslav 0c95fb9fc1 Fix override resolutions when the same supertype is (indirectly) included many times, such as
class A : B, C
  class B : C
2012-01-19 16:50:20 +04:00
Nikolay Krasko 14bccd9352 Fix line separators insertion 2012-01-19 16:43:49 +04:00