Commit Graph

5247 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 6d1bfce94a Implemented compacting type names and adding valid imports in specify type explicitly intention. 2012-05-03 20:51:42 +04:00
Svetlana Isakova 3053ac78e4 MUST_BE_WRAPPED_IN_A_REF was renamed to CAPTURED_IN_CLOSURE (immutable variables are stored there as well) 2012-05-03 19:30:13 +04:00
Stepan Koltsov f4527b8167 better method name 2012-05-03 18:30:47 +04:00
Stepan Koltsov fcee8a4133 test vararg string loading 2012-05-03 18:23:37 +04:00
Svetlana Isakova d4b816ef56 KT-1743 Analyze immutable local variables and parameters which are captured in closure
#KT-1743 fixed
2012-05-03 17:56:45 +04:00
Stepan Koltsov 08abd992c9 complicate kt471 test back 2012-05-03 17:39:08 +04:00
Alex Tkachman e18e35c40c KT-785 test 2012-05-03 16:20:28 +03:00
Alex Tkachman 25c804431b test for KT-606 2012-05-03 16:12:44 +03:00
Andrey Breslav 08c074c5be SubstitutionUtils extracted from TypeUtils 2012-05-03 17:08:43 +04:00
Stepan Koltsov d7cb2f2482 resolve idea classes 2012-05-03 17:05:37 +04:00
Stepan Koltsov 28dc1ba6be resolve int vararg from java 2012-05-03 17:05:37 +04:00
Stepan Koltsov e0ea953ba2 stdlib is not needed in ResolveDescriptorsFromExternalLibraries test 2012-05-03 17:05:37 +04:00
Andrey Breslav 086827d4ca Problematic diagnostics commented out
The commented code fails on CI server
2012-05-03 16:57:46 +04:00
Svetlana Isakova bdb7de142a Member 'invoke' of function class should be abstract 2012-05-03 16:15:08 +04:00
Andrey Breslav c5b7b5ad5a idea-full already contains junit4 2012-05-03 15:56:33 +04:00
Svetlana Isakova 04c2e1a64b Fallen (because of VariableAsFunctionResolvedCall change) javascript backend tests temporary commented 2012-05-03 14:46:06 +04:00
Svetlana Isakova 8723bbcac5 KT-1875 Safe call should be binded with receiver or this object (but not with both by default)
#KT-1875 fixed
2012-05-03 14:46:06 +04:00
Andrey Breslav 47934b1fe7 KT-1575 Can't define a fix-point generic type
#KT-1575 Fixed
2012-05-03 14:43:53 +04:00
Andrey Breslav 3bdc3167e8 Typo fixed 2012-05-03 14:43:53 +04:00
Alex Tkachman d58e988ca5 incorporating Sveta's patch on VariableAsFunctionResolvedCall 2012-05-03 12:56:51 +03:00
Leonid Shalupov 6626086abf fix standalone compiler build 2012-05-02 23:04:21 +04:00
Evgeny Gerashchenko 6dd5780cbd Replaced plain-text types rendered in IdeErrorMessages with HTML. 2012-05-02 20:51:17 +04:00
Evgeny Gerashchenko 4b45f5cf3f Disallowed creating Kotlin files outside source directories.
#KT-1623 fixed
2012-05-02 20:42:42 +04:00
Evgeny Gerashchenko 33f9a391a5 Added test for case when type from overridden method has same short name as something already present.
#KT-1602 fixed
2012-05-02 19:54:31 +04:00
Evgeny Gerashchenko 2fcc7b0cbb Implemented compacting type names and adding valid imports in override/implements handler.
#KT-1602 fixed
2012-05-02 19:54:29 +04:00
Evgeny Gerashchenko 298d98ee12 Extracted generatedOverridingMembers() method in OverrideImplementMethodsHandler. 2012-05-02 19:43:17 +04:00
Evgeny Gerashchenko 97d96b480e Changed completion for classes, so if they have the same name as already imported, new import is not added. Qualified name is inserted instead. 2012-05-02 19:43:16 +04:00
pTalanov 4e617094ce Merge remote-tracking branch 'origin/master' 2012-05-02 18:16:43 +04:00
pTalanov 3d97549872 Comment out test which corrupt teamcity build. 2012-05-02 18:09:22 +04:00
pTalanov 9af091b715 Fix smoke test. 2012-05-02 17:20:53 +04:00
pTalanov 359778906d Fix maven build. 2012-05-02 16:38:50 +04:00
pTalanov 4830d47e83 Change path to compiler version in teamcity build. 2012-05-02 16:10:01 +04:00
pTalanov 893fb1ffb7 Exclude proguard from build temporarily. 2012-05-02 15:53:34 +04:00
pTalanov f3e2a94745 Rename K2JVMCompilerVersion -> CompilerVersion, move to common. 2012-05-02 15:28:46 +04:00
pTalanov 7ba22df327 Extract JetCompilerMessagingTest from IDECompilerMessagingTest. 2012-05-02 15:25:05 +04:00
pTalanov 7e58e4d919 Add srcdir as K2JSCompiler parameter. 2012-05-02 15:24:25 +04:00
pTalanov ce929fab49 Rename CompileEnvironmentConfiguration. Drop ArgsUtil class. Add CompilerSpecialMode.JS. 2012-05-02 15:23:40 +04:00
pTalanov c7d5f79ec8 Finish merge. 2012-05-02 15:20:47 +04:00
Stepan Koltsov 34829a9ab9 fix code formatting 2012-05-02 14:57:49 +04:00
pTalanov 7da1e31eca Merge remote-tracking branch 'origin/master'
Conflicts:
	build-tools/core/src/org/jetbrains/jet/buildtools/core/BytecodeCompiler.java
	compiler/cli/src/org/jetbrains/jet/cli/jvm/K2JVMCompiler.java
	compiler/cli/src/org/jetbrains/jet/cli/jvm/compiler/CompileEnvironmentConfiguration.java
	compiler/cli/src/org/jetbrains/jet/cli/jvm/compiler/JetCoreEnvironment.java
	compiler/tests/org/jetbrains/jet/JetTestUtils.java
	compiler/tests/org/jetbrains/jet/codegen/CompileTextTest.java
2012-05-02 13:39:36 +04:00
Evgeny Gerashchenko eeafd06cd8 Got rid of returning empty range list in position strategies (in places where they depend on syntax errors). 2012-05-02 00:11:04 +04:00
Evgeny Gerashchenko abdf34418a Got rid of returning empty range list in position strategies (in places where they don't depend on syntax errors). 2012-05-02 00:11:03 +04:00
Evgeny Gerashchenko 0fd34a455f Added assert in DefaultErrorMessages checking that all error factories have default renderer. 2012-05-02 00:11:02 +04:00
Stepan Koltsov 427afefce4 replace .sure with !! 2012-05-02 00:01:04 +04:00
Stepan Koltsov d5d05d76f3 explictly test codegen with jdk-headers 2012-05-01 23:49:25 +04:00
Stepan Koltsov 5e77ca553c make most codegen tests are indenendent from jdk-headers/stdlib now 2012-05-01 23:49:22 +04:00
Stepan Koltsov 518f50692f kotlin runtime must be added to classpath
(not just to library root)
2012-05-01 23:49:19 +04:00
Stepan Koltsov b109ac5ad4 store CompilerDependencies in JetCoreEnvironment 2012-05-01 22:59:42 +04:00
Stepan Koltsov ba7a94e17d reuse CodegenTestCase in CompileTextTest 2012-05-01 22:59:39 +04:00
Stepan Koltsov c23feab6d1 JetLiteFixture: assign to myEnvironment only once 2012-05-01 22:32:08 +04:00