Commit Graph

5858 Commits

Author SHA1 Message Date
Svetlana Isakova c40cd03a08 not to rewrite RESOLUTION_SCOPE for references
(different scope can appear because of cached info for calls)
2012-06-07 17:12:12 +04:00
Svetlana Isakova 3d2021a132 factory method added
not to create empty Collections on invocation every time
2012-06-07 17:09:19 +04:00
Svetlana Isakova 6c6c1a1cd1 addAllMyDataTo with filter method added 2012-06-07 17:07:21 +04:00
Svetlana Isakova 5003da67f6 added CallType
callElement in not unique for the call, for example: for 'set' and 'get' array methods resolve
the same callElement is used, so callType with callElement is the unique key
2012-06-07 17:05:51 +04:00
Andrey Breslav b5f5ba7e32 KT-2184 Fix rendering of error types
#KT-2184 Fixed
2012-06-07 15:52:39 +04:00
Andrey Breslav 37560fac10 Working on integrating lazy resolve with Java interop. 2012-06-07 15:45:34 +04:00
Andrey Breslav 4d1ce46779 Obsolete test removed 2012-06-07 15:45:33 +04:00
Andrey Breslav 601f2f0fcf Support comparing the builtins namespace 2012-06-07 15:45:33 +04:00
Andrey Breslav 48460a8480 A clarifying assertion 2012-06-07 15:45:33 +04:00
Andrey Breslav a3e76832e3 Re-using test data from readKotlinBinaryClass 2012-06-07 15:45:33 +04:00
Andrey Breslav a390908592 No constructor for traits and such 2012-06-07 15:45:33 +04:00
Andrey Breslav 8ee4c05be6 Support getClassDescriptor() 2012-06-07 15:45:32 +04:00
Alex Tkachman 243bdccf37 removing duplicating android check 2012-06-07 13:04:53 +03:00
Andrey Breslav 0916ec549d Add verification by dx.jar to CodegenTests
A patch by Natalia Ukhorskaya: https://github.com/JetBrains/kotlin/pull/70

Adds Android verfication to our codegen tests
2012-06-07 12:42:59 +04:00
Andrey Breslav 14e292ed7e Fixing compilation 2012-06-07 10:46:26 +04:00
Stepan Koltsov bace845b49 working on REPL: test template and basic analyzer hacks 2012-06-06 23:58:21 +04:00
Stepan Koltsov bfec04f319 WritableScopeImpl: specify debug name in constructor 2012-06-06 23:58:20 +04:00
Stepan Koltsov 06389993a9 do not store root scope in context
because context can be used more then once when analyzing REPL
2012-06-06 23:58:20 +04:00
Stepan Koltsov 3408c9833c ExceptionUtils.rethrow 2012-06-06 23:58:19 +04:00
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