Commit Graph

620 Commits

Author SHA1 Message Date
Andrey Breslav 32f5e3c5b9 JET-25: isOverridable implemented 2011-05-05 21:58:57 +04:00
Andrey Breslav f84bdf0d54 Initial design for the TypeInfo class 2011-05-05 17:07:22 +04:00
Andrey Breslav 0e63fa3761 Renamed Attribute into Annotation 2011-05-04 15:40:30 +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
Andrey Breslav dae06f0b67 JET-18 Resolve references to value parameters of the primary constructor to parameter or property descriptors according to the semantics 2011-05-03 23:21:56 +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 9f0d0e8722 Fixed type substitution for constructor calls 2011-05-03 13:10:58 +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
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