Mercurial > projects > ddmd
comparison dmd/OverExp.d @ 72:2e2a5c3f943a
reduced warnings by adding override to the methods
think this also normalizes different line endings used all over the place
author | Trass3r |
---|---|
date | Sat, 28 Aug 2010 16:19:48 +0200 |
parents | cab4c37afb89 |
children | 6da99741178e |
comparison
equal
deleted
inserted
replaced
71:8e24ef1dd139 | 72:2e2a5c3f943a |
---|---|
17 //printf("OverExp(this = %p, '%s')\n", this, var.toChars()); | 17 //printf("OverExp(this = %p, '%s')\n", this, var.toChars()); |
18 vars = s; | 18 vars = s; |
19 type = Type.tvoid; | 19 type = Type.tvoid; |
20 } | 20 } |
21 | 21 |
22 int isLvalue() | 22 override int isLvalue() |
23 { | 23 { |
24 assert(false); | 24 assert(false); |
25 } | 25 } |
26 | 26 |
27 Expression toLvalue(Scope sc, Expression e) | 27 override Expression toLvalue(Scope sc, Expression e) |
28 { | 28 { |
29 assert(false); | 29 assert(false); |
30 } | 30 } |
31 } | 31 } |
32 | 32 |