Dmitry Jemerov
|
47bb3d6a2c
|
initial basic implementation of object literals; move anonymous class name mapping to JetTypeMapper; cleanup many usages of JetTypeMapper
|
2011-06-29 17:38:39 +02:00 |
|
Maxim Shafirov
|
ef1cbbfb36
|
first 'real' closure test, green
|
2011-06-24 17:56:46 +04:00 |
|
Maxim Shafirov
|
5890813fc3
|
Extension closures test fixed
|
2011-06-23 21:24:49 +04:00 |
|
Andrey Breslav
|
f4eab7d53f
|
Merge remote branch 'origin/master'
Conflicts:
idea/src/org/jetbrains/jet/codegen/ImplementationBodyCodegen.java
|
2011-06-23 20:31:04 +04:00 |
|
Andrey Breslav
|
3342515892
|
JET-121 Extension closure scope, empty?
|
2011-06-23 20:30:21 +04:00 |
|
Maxim Shafirov
|
48f40bba46
|
failing test
|
2011-06-23 16:58:07 +04:00 |
|
Maxim Shafirov
|
763e41fc5e
|
Failing test, some work for frontend
|
2011-06-23 12:29:31 +04:00 |
|
Maxim Shafirov
|
c75ad51d5c
|
Closure and boxing parameter
|
2011-06-22 21:35:24 +04:00 |
|
Maxim Shafirov
|
90038fda02
|
Closure and boxing return value
|
2011-06-22 21:26:01 +04:00 |
|
Maxim Shafirov
|
3619e411a7
|
first "OK" closure test.
|
2011-06-22 18:46:56 +04:00 |
|
Maxim Shafirov
|
b4ded8702c
|
failing test
|
2011-06-20 14:45:27 +04:00 |
|
Dmitry Jemerov
|
1816ff7c76
|
StackValue.Property also needs to implement dupReceiver()
|
2011-06-17 17:33:14 +02:00 |
|
Dmitry Jemerov
|
167e5bb400
|
correctly generate Java superclass constructor calls; don't replace owner when Java method is called via a Jet class
|
2011-06-17 17:33:13 +02:00 |
|
Dmitry Jemerov
|
7b9ea52b7a
|
initial support for secondary constructors; constructor generation refactored a bit
|
2011-06-17 17:33:13 +02:00 |
|
Dmitry Jemerov
|
54d2f25d75
|
generate checkcast instruction for 'as' calls; use accessors for accessing fields of other instances of the same class
|
2011-06-17 17:33:13 +02:00 |
|
Andrey Breslav
|
94f00509e2
|
JET-34 Require a return statement in a function with a block body
JET-77 Require a return type annotation for non-Unit returning functions with block bodies
|
2011-06-17 18:03:30 +04:00 |
|
Dmitry Jemerov
|
90c5a66362
|
allow namespace-qualified references; generate nested namespaces
|
2011-06-17 12:11:10 +02:00 |
|
Dmitry Jemerov
|
a05b65f1a6
|
initial version of codegen for objects
|
2011-06-17 12:11:10 +02:00 |
|
Andrey Breslav
|
8786c6a667
|
Type annotations required on functions
|
2011-06-15 21:21:33 +04:00 |
|
Andrey Breslav
|
c2fbbff782
|
JET-50 Drop the 'new' keyword
|
2011-06-15 18:00:22 +04:00 |
|
Dmitry Jemerov
|
0a1161f5c1
|
support qualified this
|
2011-05-30 21:41:15 +04:00 |
|
Dmitry Jemerov
|
15f55d852d
|
first step of refactoring code to generate 'this' expressions and receivers in ExpressionCodegen; correctly generate references to outer class properties in inner superclass constructor call
|
2011-05-30 20:35:58 +04:00 |
|
Dmitry Jemerov
|
e616c38a9f
|
pass outer instance when calling base inner class constructor in inner class
|
2011-05-30 19:55:44 +04:00 |
|
Dmitry Jemerov
|
8adaf297ef
|
correct generation of 'this' in DImpl classes
|
2011-05-30 18:14:57 +04:00 |
|
Dmitry Jemerov
|
4fdfcdc541
|
superclass stuff improvements
|
2011-05-30 16:26:12 +04:00 |
|
Dmitry Jemerov
|
d0f284fd5f
|
fix stupid bug introduced during refactoring
|
2011-05-30 15:46:57 +04:00 |
|
Dmitry Jemerov
|
6517a82ee1
|
generate initializer blocks
|
2011-05-29 19:21:24 +04:00 |
|
Dmitry Jemerov
|
9e4567ffc3
|
initial, barely working implementation of inner classes
|
2011-05-29 18:16:58 +04:00 |
|
Dmitry Jemerov
|
78247520c7
|
correctly handle ensureReceiverOnStack() when the expression is itself a receiver; use correct type when putting/storing fields
|
2011-05-27 19:03:11 +04:00 |
|
Dmitry Jemerov
|
9969b8d7a4
|
put values of correct type on stack for checking if character is in range
|
2011-05-27 18:29:48 +04:00 |
|
Dmitry Jemerov
|
6dfa8ca8c6
|
don't forget to put receiver on stack when calling extension functions
|
2011-05-27 18:11:42 +04:00 |
|
Dmitry Jemerov
|
58f50a8046
|
initial support for generating extension functions
|
2011-05-26 19:07:50 +04:00 |
|
Dmitry Jemerov
|
d7a2cb07f3
|
try / finally
|
2011-05-19 18:40:42 +02:00 |
|
Dmitry Jemerov
|
5bbb99e247
|
pattern matching on ranges
|
2011-05-19 16:30:23 +02:00 |
|
Dmitry Jemerov
|
cd96508c63
|
failing test for pattern matching on patterns
|
2011-05-19 16:12:58 +02:00 |
|
Dmitry Jemerov
|
92a3e9275c
|
pattern matching for expressions
|
2011-05-19 16:09:31 +02:00 |
|
Maxim Shafirov
|
0dfc7afb29
|
More delegation tests
|
2011-05-15 01:29:01 +04:00 |
|
Dmitry Jemerov
|
c4954ebcc3
|
'as?' works on types with generics
|
2011-05-13 19:07:51 +02:00 |
|
Dmitry Jemerov
|
6770f309ac
|
'is' works for type parameters
|
2011-05-13 18:42:05 +02:00 |
|
Dmitry Jemerov
|
26790f1346
|
'is' works with generic types correctly (initial implementation of reified generics)
|
2011-05-13 18:06:25 +02:00 |
|
Dmitry Jemerov
|
1966d6d12c
|
implementation classes implement JetObject; initial implementation of getTypeInfo() method and typeof operator
|
2011-05-13 13:42:17 +02:00 |
|
Dmitry Jemerov
|
5c2e90345a
|
group codegen test files into directories per test case
|
2011-05-13 12:30:28 +02:00 |
|
Maxim Shafirov
|
ec4bda880d
|
Delegating properties
|
2011-05-09 18:56:23 +04:00 |
|
Maxim Shafirov
|
a8a72a7fc0
|
function delegation
|
2011-05-09 18:34:38 +04:00 |
|
Maxim Shafirov
|
fe36a55a94
|
To green test: inheritance.jet
|
2011-05-03 15:20:31 +04:00 |
|
Andrey Breslav
|
a265c364a3
|
A work-around for an overload resolution bug
|
2011-05-03 13:21:21 +04:00 |
|
Maxim Shafirov
|
1261d87229
|
Assorted fixes to inheritance/delegation codegen
|
2011-05-02 13:13:27 +04:00 |
|
Maxim Shafirov
|
5e2d8869cf
|
Failing test, now really need to generate getters instead of calls to a getfield
|
2011-04-28 22:01:42 +04:00 |
|
Maxim Shafirov
|
1ebee592a4
|
Failing test
|
2011-04-28 21:43:45 +04:00 |
|
Maxim Shafirov
|
f7566abb5d
|
blackBox() infrastructure
|
2011-04-28 21:32:42 +04:00 |
|