Stepan Koltsov
177b3eae5e
do not generate namespace class for empty namespace
2012-06-08 04:19:23 +04:00
Stepan Koltsov
6860d330f9
poison GenerationState
2012-06-08 04:19:23 +04:00
Stepan Koltsov
8a3d3d21bd
better script class name
2012-06-08 04:19:23 +04:00
Stepan Koltsov
2d88c74635
JvmClassName: equals and hashCode
2012-06-08 03:39:49 +04:00
Stepan Koltsov
d1c566f1de
JvmClassName: @NotNull, transient annotations
2012-06-08 03:39:30 +04:00
Stepan Koltsov
3620dcab75
JvmClassName.toString
2012-06-08 03:39:18 +04:00
Stepan Koltsov
a929f86127
primary field of JvmClassName must be internal name
...
because fq name can be mapped to different internal names
2012-06-08 03:39:04 +04:00
Stepan Koltsov
5468af848e
kill JvmClassName from Class constructor
...
compiler itself and compiler data should not be mixed
2012-06-08 03:38:42 +04:00
Stepan Koltsov
2ae632aa9a
chop Impl suffix when generating field name
2012-06-08 03:38:28 +04:00
Stepan Koltsov
1dd7a38c3a
lock scope
...
(for better, safer code)
2012-06-08 03:38:24 +04:00
Nikolay Krasko
c5d209b06e
Don't stick list of headers files to cache recounting
2012-06-08 01:33:32 +04:00
Andrey Breslav
e3b8e977fb
Added a check that all files in the file system are matched by the generated test
2012-06-07 20:42:50 +04:00
Svetlana Isakova
9e0e0e92df
inlined 'getType' method without 'DataFlowInfo' parameter
2012-06-07 19:42:37 +04:00
Svetlana Isakova
ec5aed82af
KT-2207 Syntax errors are not reported from the compiler
...
#KT-2207 fixed
2012-06-07 18:28:37 +04:00
Andrey Breslav
07d519a2d0
Missing space added
2012-06-07 17:52:52 +04:00
Andrey Breslav
c4b00d0498
Fixed test data
2012-06-07 17:49:41 +04:00
Nikolay Krasko
8624f24b56
Fix line separators in expected string
2012-06-07 17:45:21 +04:00
Svetlana Isakova
dbd8b81308
change for 'iter' template
...
after resolution cache added
2012-06-07 17:18:43 +04:00
Svetlana Isakova
896095b458
rename
...
'replaceTrace' method added to context
2012-06-07 17:17:23 +04:00
Svetlana Isakova
98b40ac6d2
cache for object resolve added
...
result cache for function literals is removed (these results depend on expected type)
2012-06-07 17:16:15 +04:00
Svetlana Isakova
7f02af0ce8
cache for resolved simple calls added
...
simple: without type parameters
2012-06-07 17:14:13 +04:00
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