Stepan Koltsov
e0fae55ee4
read kotlin class objects from binary classes
2012-02-22 22:11:08 +04:00
Stepan Koltsov
b9bc882bf9
useless constructor modality parameter
2012-02-22 22:10:58 +04:00
Alex Tkachman
53bba59a4f
dbl -> toDouble
2012-02-22 13:14:41 +02:00
Alex Tkachman
18990e2c1b
bug with delegation from EA
2012-02-22 13:02:48 +02:00
Stepan Koltsov
71f62f872f
fix stdlib compilation after javabean refactoring
2012-02-21 23:54:16 +04:00
Alex Tkachman
cc8d263f9e
preliminary support for intrinsics in std lib. javaClass<T>
2012-02-21 20:37:38 +02:00
Alex Tkachman
fb8fa8bf9e
intrinsic renamed to Intrinsic
2012-02-21 15:31:05 +02:00
Alex Tkachman
5e7de3f5ab
getting rid of JetObject.getOuterObject
2012-02-21 15:13:16 +02:00
Alex Tkachman
af437481a2
Merge remote branch 'origin/master'
2012-02-21 14:57:47 +02:00
Alex Tkachman
8b622f97f4
getting rid of TypeInfo
2012-02-21 14:54:00 +02:00
Alexander.Podkhalyuzin
2e2287f207
KT-1274 fixed tests
2012-02-21 16:10:13 +04:00
Andrey Breslav
bff62484b1
KT-1306123.lng or 123.sht is not good name
2012-02-20 21:42:13 +04:00
Alex Tkachman
436c298e47
weird bug with nested closures using outer receiver
2012-02-20 12:15:02 +02:00
Svetlana Isakova
046c13a264
KT-1041 Add check that thrown/catched expression is of Throwable type
2012-02-20 14:03:39 +04:00
Alex Tkachman
9073e4a6bb
fixed non compiling HtmlBuilder.kt
2012-02-19 14:22:54 +02:00
Andrey Breslav
a87c0903f2
KT-224 "Overload ambiguity" when calling toString() method
2012-02-17 21:01:24 +04:00
Alex Tkachman
082fdebaae
KT-723 optional boxing after call to .inc()
2012-02-17 09:08:41 -05:00
Alex Tkachman
614c5018f6
inspection suppressed
2012-02-17 08:26:21 -05:00
Nikolay Krasko
e4cefd000a
KT-1229 Packages should be showed in package derictive
2012-02-16 15:35:54 +04:00
Alefas
94402c5f3f
Name validator for introduce variable action.
2012-02-15 15:51:23 +04:00
Stepan Koltsov
9248cf9659
Important JavaDescriptorResolver refactoring
...
This patch implement own member filling with supertype scope. Before this patch JDR relied on
Idea hierarchy resolver.
This patch does two things:
* copies FunctionDescriptors from supertype scopes
* rewrites containingDeclaration similary to how it is done in previous patch
Patch is incomplete, in particular properties are not yet initialized properly, code needs cleanup,
however the most important part of refactoring is done, and tests pass.
2012-02-15 00:02:03 +04:00
Maxim Shafirov
a03922d467
Copyrights set to Apache, reflecting it's now open source
2012-02-14 19:25:06 +04:00
Stepan Koltsov
7fb880e585
fix constructor signature write fix after ace34b01bc
2012-02-13 21:30:14 +04:00
Nikolay Krasko
be5eeb2546
KT-985 Don't show the default package in the completion list
2012-02-13 20:03:29 +04:00
Alex Tkachman
ace34b01bc
KT-1202 object construction fix
2012-02-13 08:34:10 +02:00
Alex Tkachman
84ed18c7e2
KT-1149 static type info field for unarameterized traits
2012-02-12 09:04:18 +02:00
Alex Tkachman
a2b602a440
KT-694 - support for simple enums
2012-02-11 13:00:28 +02:00
Alex Tkachman
8d9434548f
KT-1199 - test and fix for erased case
2012-02-11 11:09:02 +02:00
Stepan Koltsov
4b94eb5e2b
rewrite owner when copying FunctionDescriptor from supertype scope
...
that fixes invocation:
>>> StringBuilder.length()
that was compiled to
>>> invokevirtual CharSequence.length()
and now compiles to
>>> invokevirtual StringBuilder.length()
Essentially patch rewrites FunctionDescriptor.containingDeclaration
when FunctionDescriptor is copied to subclass scope.
FunctionDescriptor now has kind field that can be
* DECLARATION (for "real" function, maybe abstract)
* DELEGATION
* FAKE_OVERRIDE (created for functions from supertypes)
All tests pass although some parts of code are buggy and ugly.
Random comments about this patch:
* FunctionDescriptor.overrides point to function descriptors of supertype scopes
* Filling of memberScope with supertypes is moved to OverrideResolver
* ExpressionCodegen.intermediateValueForProperty must be rewritten
* Patch adds not nice REDECLARATION reports (see compiler/testData/diagnostics/tests/*).
Will be fixed later.
2012-02-10 20:36:40 +04:00
Nikolay Krasko
21394c8486
- KT-1232 Do not place import with default imports in scope after completion
...
- Don't activate not-in-scope completion on typing by default
2012-02-10 16:27:05 +04:00
Alex Tkachman
8e6e8e938c
def args in constructors
2012-02-09 20:36:09 +02:00
Evgeny Gerashchenko
47764add22
Changed completion for 'iter' live template, now check is the same as used in checking real for loops.
2012-02-09 21:56:28 +04:00
Maxim Shafirov
8cfc443c93
KT-1220
2012-02-09 18:37:15 +04:00
Alex Tkachman
09a8834220
inline variable
2012-02-06 16:16:13 +02:00
Alex Tkachman
3578d51cb1
Initial support for annotations
2012-02-05 11:29:04 +02:00
svtk
6251b413a2
New check rules for inc, plus & plusAssign
...
KT-1176 arrayList[0]++. Setter is stored for array access expression when it's needed
2012-02-03 12:10:12 +04:00
Maxim Shafirov
04b0699cd5
Fix memory leak by disposing a classloader. The real issue though is located in TypeInfoParser, that has WeakHashMap with values referencing keys.
2012-02-02 20:35:15 +04:00
Alex Tkachman
fd3ae3923a
actors example and related bug fixes
2012-02-02 11:15:26 +02:00
Alex Tkachman
27425c5851
support for volatile
2012-01-31 12:21:18 +02:00
Andrey Breslav
5595e55ab9
A command-line argument to transform file names to *.java
2012-01-30 22:01:38 +04:00
Alex Tkachman
92ef6aed77
local functions used inside closures
2012-01-30 16:05:08 +02:00
Alex Tkachman
c62bbdc5df
local functions
2012-01-29 16:20:05 +03:00
Alex Tkachman
e7a1b2ea72
fix for broken tests
2012-01-28 02:47:04 +03:00
Alex Tkachman
4b4d84d485
KT-1168 don't use direct fields from non-final properties
2012-01-28 00:56:05 +03:00
Alex Tkachman
686d4cae3c
postfix part of KT-471
2012-01-27 23:11:14 +03:00
Alex Tkachman
703635d968
Merge remote branch 'origin/master'
2012-01-27 15:40:31 +03:00
Alex Tkachman
51e4fc986a
KT-1157 class object instance access from constructor of class object
2012-01-27 15:40:17 +03:00
Stepan Koltsov
e1743f0cd7
generate bridge flag for bridge methods
2012-01-27 15:33:05 +04:00
Alex Tkachman
9dd27cfd1b
fixing broken test for naming of class objects
2012-01-26 02:43:39 +02:00
Alex Tkachman
c5d88251a9
CharSequence added in to stdlib
2012-01-25 22:09:32 +02:00