1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package DefaultValueTest { part def V { attribute m default = 10; attribute n = 20; } part v1 : V { attribute :>> m = 20; } part def W :> V { attribute :>> m default = n; } part v2 = new W(); }