9082 Commits

Author SHA1 Message Date
Dmitry Jemerov 0fe2b7ef2f Merge remote-tracking branch 'origin/master' 2011-05-19 19:39:09 +02:00
Andrey Breslav 1c6dadb36a Support for wildcard patterns 2011-05-19 21:24:21 +04:00
Andrey Breslav 197c4a6fee Basic type patterns supported in when() expressions 2011-05-19 21:12:09 +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
Andrey Breslav 00e2c9dde3 Preliminary support for extension functions: they participate in overload resolution only if no such name is found in the receiver type itself. 2011-05-19 00:11:09 +04:00
Andrey Breslav 25799cf2f0 Report an error on a function with two lists of type parameters 2011-05-18 21:38:39 +04:00
Andrey Breslav cea7f85648 Fixed a bug in CF for when() expressions 2011-05-18 14:24:17 +04:00
Andrey Breslav 891aebf3bc Basic support for when() expressions 2011-05-17 22:33:39 +04:00
Andrey Breslav 169f45b97b AST structure refined for different kinds of when entry conditions 2011-05-17 19:32:35 +04:00
Andrey Breslav cefdf3a266 Test for JET-11 Redeclaration & Forward reference for classes cause an exception 2011-05-16 21:31:19 +04:00
Andrey Breslav 7f07ae6aeb Test for JET-17 Do not infer property types by the initializer before the containing scope is ready
Granular highlighting for redeclaration errors
2011-05-16 21:29:07 +04:00
Andrey Breslav 92e1391ca5 Test for JET-4: Support forward declarations with no type annotations 2011-05-16 21:18:22 +04:00
Andrey Breslav 0f63489f7c All tests pass 2011-05-16 20:48:51 +04:00
Andrey Breslav f61b776c10 Merge remote branch 'origin/master' 2011-05-16 15:05:59 +04: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
Andrey Breslav b75354f4b9 Merge remote branch 'origin/master' 2011-05-13 20:54:57 +04:00
Dmitry Jemerov 6770f309ac 'is' works for type parameters 2011-05-13 18:42:05 +02:00
Andrey Breslav 63aecd285e Merge remote branch 'origin/master' 2011-05-13 20:23:28 +04:00
Dmitry Jemerov 26790f1346 'is' works with generic types correctly (initial implementation of reified generics) 2011-05-13 18:06:25 +02:00
Andrey Breslav 5aad7021af Merge remote branch 'origin/master' 2011-05-13 17:08:18 +04:00
Andrey Breslav 7848122d8d Type patterns supported 2011-05-13 17:07:21 +04:00
Andrey Breslav 29dba62144 Merge remote branch 'origin/master' 2011-05-13 15:57:01 +04:00
Dmitry Jemerov 1966d6d12c implementation classes implement JetObject; initial implementation of getTypeInfo() method and typeof operator 2011-05-13 13:42:17 +02:00
Andrey Breslav 45ca9c2588 Merge remote branch 'origin/master' 2011-05-13 15:23:41 +04:00
Dmitry Jemerov 5c2e90345a group codegen test files into directories per test case 2011-05-13 12:30:28 +02:00
Andrey Breslav d40bec3eba JET-26 Check bounds in generic types: fixed substitution problems 2011-05-11 18:26:53 +04:00
Andrey Breslav 7c263c3e95 JET-26 Check bounds in generic types
+ Working on JET-25 Support method overriding
2011-05-10 21:37:17 +04: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
Andrey Breslav 8c8f1eb4dd JET-6 Perform checks for primary and secondary constructors (In progress): class having a stateful property must have a constructor 2011-05-04 15:13:25 +04:00
Andrey Breslav 441bef9935 JET-9 Support hasBackingField for properties which are parameters of the primary constructor 2011-05-04 14:21:45 +04:00
Andrey Breslav ba221419b4 JET-18 Resolve references to value parameters of the primary constructor to parameter or property descriptors according to the semantics 2011-05-04 14:12:36 +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
Andrey Breslav e46792a80e Fixed the typechecking for try..catch 2011-05-03 12:25:54 +04:00
Andrey Breslav 45da711de3 Test fixed 2011-05-02 22:27:26 +04:00
Andrey Breslav b42dfc4e6b Removed junk from the test, accidentally deleted test restored 2011-05-02 22:19:22 +04:00
Andrey Breslav 98d3f8260b JET-18 Resolve references to value parameters of the primary constructor to parameter or property descriptors according to the semantics 2011-05-02 22:03:00 +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
Dmitry Jemerov a61e045e85 failing test for try/catch 2011-04-28 18:31:40 +02:00
Dmitry Jemerov 89d7adbf73 generate for/in over java.lang.Iterable 2011-04-28 18:24:16 +02:00
Dmitry Jemerov da6b4a9595 += for strings 2011-04-28 18:15:44 +02:00
Maxim Shafirov bca39bf21f Delegating to a super constructors, $delegate fields, $this field 2011-04-28 19:38:35 +04:00