Skip to main content
summaryrefslogtreecommitdiffstats
blob: 510a40cc887ccd2001be50c16344e14fd71db54e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package p;

public team class T {
	protected class R1 playedBy B {
		public final int f = 0;

		callin void rm(){ /* empty */ }
		
		void rm() <- replace int bm() with {
			f -> result 
		}
	}
	
	protected class R2 extends R1 {
		
	}
}

Back to the top