Community
Participate
Working Groups
According ot OTJLD 2.4.2(c) a base constructor call can be used as an expression (argument to another constructor invocation): super(base(args)); However, currently the compiler reports a syntax error on token "base". Witness is test236_constructorWithBasecall5.
Created attachment 177652 [details] fix This patch updates the grammar to support base constructor calls as expressions. Additional checks are performed to detect illegal use of a base constructor expression outside the explicit super or this call.
Patch has been committed as r744 / r745.
Verified using I201009211735