rfc:allow-constant-override-consistently

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rfc:allow-constant-override-consistently [2018/04/11 02:38] wesnetmorfc:allow-constant-override-consistently [2018/04/14 04:56] (current) wesnetmo
Line 20: Line 20:
 interface B2 extends A2 { const X = 2; } interface B2 extends A2 { const X = 2; }
  
-// This doesn't work too:+// This doesn't work either:
 interface A3            { const X = 1; } interface A3            { const X = 1; }
 class B3 implements A3  { const X = 2; } class B3 implements A3  { const X = 2; }
Line 45: Line 45:
  
 7.3 7.3
 +
 +===== Future scope: =====
 +
 +If desired by the community, the '''final''' keyword could be introduced in order to actually prevent constant override.
  
 ===== Voting ===== ===== Voting =====
rfc/allow-constant-override-consistently.txt · Last modified: 2018/04/14 04:56 by wesnetmo