Commit Graph

5839 Commits

Author SHA1 Message Date
Andrey Breslav 9da5fe11d9 Comparing tests generated from test data
For better debugging
2012-06-06 22:13:01 +04:00
Andrey Breslav acee1f5df1 Include subpackages and fake overrides into allDescriptors 2012-06-06 22:13:01 +04:00
Nikolay Krasko 5a22f43131 Constant for language name and several usage for this constant 2012-06-06 21:29:12 +04:00
Alex Tkachman 58385eabd8 multi-file namespace compilation 2012-06-06 19:34:31 +03:00
Dmitry Jemerov 5b987ccc15 when calling function stored in local variable as unary operation, don't forget to push function instance (KT-1953)
I'm sure that there are similar cases that still don't work;  please let me know if you find any
#KT-1953 fixed
2012-06-06 17:17:44 +02:00
Dmitry Jemerov 98c9569216 fix bad merge, sorry 2012-06-06 13:52:53 +02:00
Dmitry Jemerov 6b84f5d31a correctly coerce values in StackValue.store() (KT-1397)
#KT-1397 fixed
2012-06-06 13:43:34 +02:00
pTalanov 5eb11ae754 Remove error logging when we can't determine the type (js or jvm) of the module the source belongs to (for example navigating to library sources which happens really often) 2012-06-06 15:35:50 +04:00
Alex Tkachman 7d938dd98f one more step to multi-file compilation 2012-06-06 12:17:25 +03:00
Alex Tkachman 03c4e755fa preparations to multi-file compilation 2012-06-06 11:12:39 +03:00
Stepan Koltsov f27147f752 script: make top level declarations class members 2012-06-05 22:59:07 +04:00
Stepan Koltsov 877ecf83ad store script object in CodeGenTest field 2012-06-05 22:56:26 +04:00
Stepan Koltsov 68ae2e95a3 better ScriptGenTest: check more fields 2012-06-05 22:56:26 +04:00
Stepan Koltsov 9a71cb5e72 CodeGenTest: check result and print code in any blackbox
... and fix test
2012-06-05 22:56:25 +04:00
Stepan Koltsov d33c8638d8 JetControlFlowTest doesn't need stdlib or jdk headers 2012-06-05 22:56:25 +04:00
Stepan Koltsov 6c12aa8605 rename CodegenContext.contextType to contextDescriptor to match getter name 2012-06-05 22:56:25 +04:00
Stepan Koltsov 4cf48d64a7 rename FunctionDescriptorImpl.receiver 2012-06-05 22:56:24 +04:00
Stepan Koltsov e7a81bb466 FrameMap: implement enterTemp using another enterTemp 2012-06-05 22:56:24 +04:00
Stepan Koltsov 999586eec9 FrameMap.toString
for debugging
2012-06-05 22:56:24 +04:00
Stepan Koltsov fbdfd5a5fb validate state in FrameMap.leave
fix variable leave order
2012-06-05 22:56:23 +04:00
Stepan Koltsov cf9dec51f5 formatting code for debugging 2012-06-05 22:56:23 +04:00
Stepan Koltsov 52234e96fd ScriptCodeDescriptor 2012-06-05 22:56:23 +04:00
pTalanov 0a14d9d2a5 Restart highlighting in the whole project after setting up K2JS module 2012-06-05 21:56:34 +04:00
pTalanov 1937823a77 Test for evaluating properties lazily 2012-06-05 21:56:32 +04:00
Nikolay Krasko 601007c20f Stop using isJsProject method 2012-06-05 20:41:43 +04:00
Andrey Breslav 91606a3901 Introduce 'reified' instead of 'erased' 2012-06-05 20:19:07 +04:00
Andrey Breslav 0ceee0a383 Fixed: old code relied on reified generics 2012-06-05 20:19:07 +04:00
Andrey Breslav e5e3bc0ee5 PackageMemberDeclarationProvider introduced 2012-06-05 20:19:07 +04:00
pTalanov 42c29da718 Revert unwanted changes to build.xml 2012-06-05 20:12:32 +04:00
pTalanov 6b9495a159 Cosmetics 2012-06-05 19:29:25 +04:00
pTalanov 95e3080cc7 Manually assemble kotlinLib.js from ecma version independent and dependent parts and it to dist 2012-06-05 19:29:24 +04:00
pTalanov b4a0ecf04e Fix copyrights to their previous state (not sure they're needed at all) 2012-06-05 19:29:23 +04:00
pTalanov 104061b7f8 Cosmetics after pulling https://github.com/JetBrains/kotlin/pull/67 2012-06-05 19:29:21 +04:00
develar d4d300d0e9 Requested only one commit pull request (was: https://github.com/JetBrains/kotlin/pull/59/files).
Note: all tests passed, but I haven't tested this build in real life (opposite to my master branch).

Don't remember about critical issue — http://youtrack.jetbrains.com/issue/KT-2154 Fix for this issue is not included in this patch (because unrelated). Fix for it and for all other unrelated changes will be opened as separated pull-requests.
2012-06-05 19:29:20 +04:00
Nikolay Krasko 184d3fb16e - Tests for OUT_OF_CODE_BLOCK_MODIFICATION behaviour
- Enable behaviour for property accessors
2012-06-05 17:54:22 +04:00
pTalanov 494bd32636 Remove outdated js.examples module 2012-06-05 16:48:16 +04:00
pTalanov d11b0a617c WebDemoCanvas test files synched with actual version in WD 2012-06-05 16:48:15 +04:00
pTalanov c5ebfdcea7 Fix EcmaVersion.fromString() which caused translator to default to EcmaScript v5 in IDE 2012-06-05 16:48:14 +04:00
Nikolay Krasko a4e6a77f58 Make module check work for non-physical files produced with completion 2012-06-05 16:36:05 +04:00
Evgeny Gerashchenko 7517470112 Got rid of AnalyzerFacadeProvider.getAnalyzerFacadeForProject().
Usage in JetSourceNavigationHelper was converted to direct AnalyzerFacadeForJVM usage.
2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko 364cbe3a88 Supported function and tuple types in alternative signatures. 2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko b89353e094 Added tests for tuple and function types in alternative signatures. 2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko 798ccdc8c4 Supported type parameters in alternative method signatures. 2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko a4c4e2b0f1 Added alternative signature test for method with type parameters. 2012-06-05 15:59:18 +04:00
Evgeny Gerashchenko 247e3978d9 Moved alternative signature parsing logic from JDR to separate class. 2012-06-05 15:59:17 +04:00
Evgeny Gerashchenko 968d159f86 Fixed NPE when no type ref is specified in Kotlin signature. 2012-06-05 15:59:17 +04:00
Leonid Shalupov cbd4004d44 update ReadMe for maven 2012-06-05 15:35:18 +04:00
Andrey Breslav c43c5fb697 Initial lazy resolve test comparing descriptors with the existing resolve mechanisms 2012-06-05 15:24:58 +04:00
Andrey Breslav 96d7d8414d ModuleDescriptor now supports lazy root namespaces 2012-06-05 15:24:58 +04:00
Andrey Breslav 3bf7c37c77 Annotations on classes and class objects supported 2012-06-05 15:24:58 +04:00