Pseudocode: Generate instructions for superclass constructor calls. Consume value of delegate expression in the by-clause
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
trait T
|
||||
|
||||
class A(a: Int, b: Int): T
|
||||
|
||||
class B(a: Int, b: Int): T by A(a + b, a - b)
|
||||
Reference in New Issue
Block a user