Commit Graph

608 Commits

Author SHA1 Message Date
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
Andrey Breslav 1b2577078a Merge remote branch 'origin/master' 2011-05-02 22:02:15 +04:00
Maxim Shafirov 1261d87229 Assorted fixes to inheritance/delegation codegen 2011-05-02 13:13:27 +04:00
Dmitry Jemerov 42a36e0cf6 some fixes to bring the test a bit closer to working condition 2011-04-29 21:02:10 +02:00
Dmitry Jemerov 86536deb7a tuples lovely tuples 2011-04-28 20:09:47 +02:00
Dmitry Jemerov b95498624f range literals initial 2011-04-28 20:09:46 +02: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
Maxim Shafirov af34bf9a7c Generate call to super even if not explisit. 2011-04-28 20:58:16 +04:00
Maxim Shafirov 7a5d69b0f2 Cloning a constructor descriptor shall result in constructor descriptor, not FunctionDescriptor 2011-04-28 20:58:16 +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
Dmitry Jemerov 6574cd98ed test for stuff that Max has already implemented 2011-04-28 13:29:42 +02:00
Dmitry Jemerov 1562de1347 map Nothing to void 2011-04-28 12:49:56 +02:00
Maxim Shafirov 5c55f7d7d6 constructors are void 2011-04-28 14:27:20 +04:00
Maxim Shafirov de50b2c191 Namespace properties can directly be accessed via backing field. 2011-04-28 14:27:20 +04:00
Andrey Breslav 4e24405bea JET-16 Check property initializers as parts of the primary constructor's body 2011-04-26 20:20:30 +04:00
Andrey Breslav 244fc31da8 JET-16 Check property initializers as parts of the primary constructor's body 2011-04-26 18:47:16 +04:00
Andrey Breslav 64a8da3296 JET-14 Support anonymous initializers 2011-04-26 18:13:16 +04:00
Andrey Breslav d23a76b64d JET-6 Perform checks for primary and secondary constructors (In progress) 2011-04-26 17:00:07 +04:00
Andrey Breslav ca66b2fdbd Constructor descriptors are visible through BindingContext API 2011-04-26 13:43:03 +04:00
Andrey Breslav 5fdb34038e Allow namespaces with {} on the first line of a file (JET-2) 2011-04-25 22:08:03 +04:00
Andrey Breslav d4551a61bf Declarations are not parsed as expressions any more (JET-1) 2011-04-25 20:32:12 +04:00
Andrey Breslav 9059dae673 Namespace types are only allowed in appropriate contexts 2011-04-25 19:54:48 +04:00
Andrey Breslav 43742828c4 Multiple declarations contributing to the same namespace are supported 2011-04-25 18:54:18 +04:00
Maxim Shafirov d19c1c165b Instance function call 2011-04-25 15:11:42 +04:00
Andrey Breslav 6a178a4940 Basic resolve for 'throw' 2011-04-25 13:09:03 +04:00
Andrey Breslav 968e22f999 Working on constructors: references on 'this()' calls, etc. Many checks pending 2011-04-22 21:45:44 +04:00
Andrey Breslav 913a01c107 A better test for generic functions 2011-04-22 18:37:20 +04:00
Andrey Breslav fcdbc3141c Generic Java methods supported 2011-04-22 18:35:24 +04:00
Andrey Breslav d9997f3c25 Generic Java classes supported 2011-04-22 18:25:09 +04:00
Andrey Breslav 55518cd654 Initializers prohibited on val-properties with no backing field 2011-04-22 14:23:58 +04:00
Dmitry Jemerov bbf4fbc34f generate property accessors in class interface 2011-04-21 19:47:39 +02:00
Dmitry Jemerov e0eb3ebd48 more advanced test 2011-04-21 19:11:08 +02:00
Dmitry Jemerov 2c7500c626 generate initializers for namespace properties in <clinit> method 2011-04-21 19:08:22 +02:00
Dmitry Jemerov 85f46abcd2 handle getters/setters without body; generate initializers for class-level properties 2011-04-21 18:42:30 +02:00
Dmitry Jemerov 9e33922be1 better diagnostics 2011-04-21 18:18:56 +02:00
Dmitry Jemerov 843c102922 failing test for throw 2011-04-21 18:01:58 +02:00
Dmitry Jemerov 11f8ed8c28 generate public accessor methods for public properties 2011-04-21 17:36:38 +02:00
Dmitry Jemerov d6611e495b initial support for properties backed by instance fields; some dummy code to generate primary constructor 2011-04-21 17:36:37 +02:00
Andrey Breslav 433c073778 Exceptions thrown on syntax errors 2011-04-21 18:04:23 +04:00
Dmitry Jemerov 806bddb80c fixed tests 2011-04-21 15:47:35 +02:00
Andrey Breslav eb7ac0cf91 Basic checks for base initializers in constructors.
Working on Java generics support.
2011-04-21 17:45:46 +04:00
Dmitry Jemerov aba13415c7 failing test for property in class 2011-04-21 15:42:51 +02:00
Dmitry Jemerov ec9018f209 exclude examples/out 2011-04-21 14:24:28 +02:00
Dmitry Jemerov d17f095eec namespace properties are mostly working 2011-04-21 14:24:28 +02:00