This website requires JavaScript.
c2435f0f24
JET-126 Put 'where'-clause after the declaration
Andrey Breslav
2011-07-08 22:44:56 +04:00
addfc6a421
JET-177 Drop extensions
Andrey Breslav
2011-07-08 22:05:14 +04:00
c9b2242c2b
Tests fixed
Andrey Breslav
2011-07-08 21:39:29 +04:00
8f71c188e9
correctly generate supertypes of class objects and object literals
Dmitry Jemerov
2011-07-08 16:45:09 +02:00
d4020a422b
JET-180 Rename typeof to typeinfo, type or make it a function
Andrey Breslav
2011-07-08 20:27:40 +04:00
7ae58d2efb
calling methods on class objects works
Dmitry Jemerov
2011-07-08 14:24:22 +02:00
d3c000606d
toString fixed
Andrey Breslav
2011-07-08 15:49:33 +04:00
0af118c5be
Small cosmetics
Andrey Breslav
2011-07-08 15:41:00 +04:00
c302571bb2
test that fails
Dmitry Jemerov
2011-07-08 13:41:01 +02:00
a691de74bc
predicate operator implemented
Dmitry Jemerov
2011-07-08 13:12:56 +02:00
fc9f1eec4f
TypeInfo.getClassObject(), for now implemented via reflection
Dmitry Jemerov
2011-07-08 12:30:51 +02:00
dac522d7a9
use standard generateTypeInfo() call in pushTypeArguments()
Dmitry Jemerov
2011-07-08 12:09:16 +02:00
4e48e527b1
initial implementation of class objects
Dmitry Jemerov
2011-07-07 16:13:25 +02:00
9e28fe70c1
Finally, green tests
Maxim Shafirov
2011-07-08 14:34:48 +04:00
704f153a31
JET-174 Make continue work the same way in all contexts inside when Guards are removed. Continue is not supported yet.
Andrey Breslav
2011-07-07 17:18:29 +04:00
026eadda7a
fix codegen after JetWhenConditionWithExpression removal
Dmitry Jemerov
2011-07-07 14:14:29 +02:00
498f85e49e
Drop JetWhenConditionWithExpression, replaced with JetWhenConditionIsPattern with JetExpressionPattern inside
Andrey Breslav
2011-07-07 16:08:43 +04:00
d42eedb0e0
support property access in pattern matching expressions
Dmitry Jemerov
2011-07-06 20:17:38 +02:00
8d28105a9e
support multiple conditions on a 'when' entry
Dmitry Jemerov
2011-07-06 19:28:00 +02:00
889345e7f7
initial support for binding patterns in pattern matching (very fragile in terms of stack manipulation :( )
Dmitry Jemerov
2011-07-06 18:39:18 +02:00
a744c183c4
JET-172 Allow many parameters of a function literals to be declared without parentheses
Andrey Breslav
2011-07-06 20:30:28 +04:00
900143af5b
JET-172 Allow many parameters of a function literals to be declared without parentheses
Andrey Breslav
2011-07-06 20:21:22 +04:00
d1b8a6b5c7
Multiple conditions in when entries
Andrey Breslav
2011-07-06 19:36:09 +04:00
b621e89396
Syntax fixed
Andrey Breslav
2011-07-06 18:50:40 +04:00
50a1eeeb59
support for calls in pattern matching
Dmitry Jemerov
2011-07-06 16:29:45 +02:00
e61f69437d
put "owner from call" flag into CallableMethod
Dmitry Jemerov
2011-07-06 16:23:58 +02:00
9497b41664
put receiver information into CallableMethod
Dmitry Jemerov
2011-07-06 16:14:31 +02:00
d824997dcf
refactor visitCallExpression() in preparation for supporting calls in pattern matching
Dmitry Jemerov
2011-07-06 16:02:25 +02:00
7adb2d1381
tests for JET-168 Improve the parser for function and tuple types as receiver types
Andrey Breslav
2011-07-06 18:18:47 +04:00
bfac08235e
Merge remote branch 'origin/master'
Andrey Breslav
2011-07-06 18:18:25 +04:00
e0d597a1bc
JET-140 Change function type syntax and tests for JET-168 Improve the parser for function and tuple types as receiver types
Andrey Breslav
2011-07-06 17:49:35 +04:00
a2721d3309
JET-140 Change function type syntax and tests for JET-168 Improve the parser for function and tuple types as receiver types
Andrey Breslav
2011-07-06 17:49:35 +04:00
4cf00a8548
Capture this in closures
Maxim Shafirov
2011-07-06 17:37:01 +04:00
0c85c53c64
pattern matching for tuple and expression patterns
Dmitry Jemerov
2011-07-06 15:24:34 +02:00
3fe728dff6
generatePatternMatch() returns StackValue for result
Dmitry Jemerov
2011-07-06 13:49:52 +02:00
71f521c05d
use StackValue (and StackValue.expression() in particular) instead of Runnable as the expression in instanceof check
Dmitry Jemerov
2011-07-06 13:44:47 +02:00
89cafb3152
tuple literals
Dmitry Jemerov
2011-07-06 13:01:14 +02:00
d71bcf5df4
[] for collections
Dmitry Jemerov
2011-07-06 12:31:18 +02:00
7b47d67dca
final (?) step of CallableMethod refactoring
Dmitry Jemerov
2011-07-06 12:23:29 +02:00
8317fbc290
closure as callable method
Dmitry Jemerov
2011-07-06 12:15:05 +02:00
5eb2f913b3
one more step of CallableMethod refactoring
Dmitry Jemerov
2011-07-06 12:11:11 +02:00
516738ba2f
one more example
Dmitry Jemerov
2011-07-06 11:55:51 +02:00
c81b7869f9
alignments are nice
Maxim Shafirov
2011-07-05 22:09:36 +04:00
c1e2849e17
Proper this for closure classes
Maxim Shafirov
2011-07-05 22:09:23 +04:00
da5d3e80c2
Merge remote-tracking branch 'origin/master'
Maxim Shafirov
2011-07-05 18:52:41 +04:00
78873765d8
alignments are nice
Maxim Shafirov
2011-07-05 18:52:13 +04:00
cde6d5765f
Introducing class context stack
Maxim Shafirov
2011-07-05 18:51:58 +04:00
24819c2c95
'Unsupported' exception replaces with an error
Andrey Breslav
2011-07-05 16:47:12 +04:00
0c5eca16d5
if (a != null) return a // nullability info considered
Andrey Breslav
2011-07-05 16:08:25 +04:00
4121aed773
!is supported in data flow info for ifs
Andrey Breslav
2011-07-05 10:55:33 +04:00
b19ad2ccb8
IO added to Library.jet Header level changed in control.grm
Andrey Breslav
2011-07-05 10:21:45 +04:00
96cd0d1ae2
Small fix in nullablilty handling
Andrey Breslav
2011-07-04 14:34:04 +04:00
6bbf1a61fe
Failing tests
Maxim Shafirov
2011-07-04 13:27:24 +04:00
7d63d512b2
ClassContext refactoring, initial
Maxim Shafirov
2011-07-04 13:27:15 +04:00
ef30fde1c2
use CallableMethod also for Java constructor calls
Dmitry Jemerov
2011-06-30 20:46:23 +02:00
4b8f40b238
use CallableMethod also for Jet constructor calls
Dmitry Jemerov
2011-06-30 20:30:35 +02:00
70dfda124e
add list of value parameter types to CallableMethod
Dmitry Jemerov
2011-06-30 20:16:43 +02:00
81c623a156
one more small step of CallableMethod refactoring
Dmitry Jemerov
2011-06-30 20:09:32 +02:00
ae4a6e1558
more examples
Dmitry Jemerov
2011-06-30 20:03:01 +02:00
5248699bee
refactoring: introduce CallableMethod abstraction (owner, signature and invoke opcode)
Dmitry Jemerov
2011-06-30 19:52:14 +02:00
d4453c055e
pass type arguments to generic functions
Dmitry Jemerov
2011-06-30 18:57:30 +02:00
1bd4eaf474
'is' works on class type parameters
Dmitry Jemerov
2011-06-30 18:23:34 +02:00
e72aec943e
use correct bytecode for calling methods on Java interfaces
Dmitry Jemerov
2011-06-30 18:03:30 +02:00
cb1df5e2aa
uncomment test which now passes
Dmitry Jemerov
2011-06-30 17:59:24 +02:00
68c8ae3a31
honor abstract modifier for classes
Dmitry Jemerov
2011-06-30 17:54:14 +02:00
840f9ffef1
store nullability information in TypeInfo
Dmitry Jemerov
2011-06-30 17:46:52 +02:00
01a08ecd04
use hard-coded TypeInfo instances for primitive types
Dmitry Jemerov
2011-06-30 17:18:16 +02:00
8a1b9933e4
assorted fixes to handle boxing correctly when calling generic methods/properties; rename getUnsubstitutedValueParameters/ReturnType to getValueParameters/ReturnType
Dmitry Jemerov
2011-06-30 16:48:13 +02:00
f7a04097bb
couple of fixes to allow generation of generic extension functions
Dmitry Jemerov
2011-06-30 15:49:29 +02:00
7f69d9a3d0
getOriginal() for PropertyDescriptor
Andrey Breslav
2011-06-30 18:42:25 +04:00
b847fd1d09
failing test for generic extension function
Dmitry Jemerov
2011-06-30 15:09:06 +02:00
48f23a0ca1
colossal cave wip
Dmitry Jemerov
2011-06-29 20:52:01 +02:00
a7b653917f
add some more string functions to standard library
Dmitry Jemerov
2011-06-29 20:51:54 +02:00
e09f4afd17
prepare anonymous classes also when generating namespace
Dmitry Jemerov
2011-06-29 17:59:27 +02:00
796b815897
colossal cave wip
Dmitry Jemerov
2011-06-29 17:13:20 +02:00
47bb3d6a2c
initial basic implementation of object literals; move anonymous class name mapping to JetTypeMapper; cleanup many usages of JetTypeMapper
Dmitry Jemerov
2011-06-29 17:10:47 +02:00
f26d0b4af7
diagnostics
Dmitry Jemerov
2011-06-29 13:33:39 +02:00
9600afa1e0
A note on semicolons
Andrey Breslav
2011-06-29 18:29:53 +04:00
c5901962c2
Comments
Andrey Breslav
2011-06-29 17:08:54 +04:00
2304752e1c
Dependencies fixed
Andrey Breslav
2011-06-29 15:33:39 +04:00
e3b36bf5a4
More comments in the grammar "used by" navigation
Andrey Breslav
2011-06-28 21:05:09 +04:00
8c64490700
Unused symbols fixed
Andrey Breslav
2011-06-28 19:44:49 +04:00
cb18d1d5c8
Precedence table
Andrey Breslav
2011-06-28 19:36:32 +04:00
c65d59c1c1
Rendering the grammar for Confluence
Andrey Breslav
2011-06-28 19:12:26 +04:00
45d280de4f
Merge branch 'master' of git.labs.intellij.net:jet
Andrey Breslav
2011-06-27 14:45:05 +04:00
a35e67d043
JET-124 Sometimes local variables are not resolved in the callee position
Andrey Breslav
2011-06-27 14:43:31 +04:00
ef1cbbfb36
first 'real' closure test, green
Maxim Shafirov
2011-06-24 17:56:46 +04:00
c544e52494
inspection profiles
Maxim Shafirov
2011-06-24 15:11:28 +04:00
5890813fc3
Extension closures test fixed
Maxim Shafirov
2011-06-23 21:24:49 +04:00
50dc4ebe90
JET-121 Extension closure scope, empty?
Andrey Breslav
2011-06-23 20:32:57 +04:00
f4eab7d53f
Merge remote branch 'origin/master'
Andrey Breslav
2011-06-23 20:31:04 +04:00
3342515892
JET-121 Extension closure scope, empty?
Andrey Breslav
2011-06-23 20:30:21 +04:00
c327ace32a
Moving common parts to GenerationState
Maxim Shafirov
2011-06-23 19:59:27 +04:00
48f40bba46
failing test
Maxim Shafirov
2011-06-23 16:58:07 +04:00
a850ca37aa
fix tests
Maxim Shafirov
2011-06-23 15:35:24 +04:00
763e41fc5e
Failing test, some work for frontend
Maxim Shafirov
2011-06-23 12:29:31 +04:00
c75ad51d5c
Closure and boxing parameter
Maxim Shafirov
2011-06-22 21:35:24 +04:00
90038fda02
Closure and boxing return value
Maxim Shafirov
2011-06-22 21:26:01 +04:00
3619e411a7
first "OK" closure test.
Maxim Shafirov
2011-06-22 18:46:56 +04:00
760b643df9
SimplesClosure test fixed.
Andrey Breslav
2011-06-20 16:18:49 +04:00