Mercurial > projects > ddmd
comparison dmd/FuncAliasDeclaration.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 | 10317f0c89a5 |
children | e28b18c23469 |
comparison
equal
deleted
inserted
replaced
71:8e24ef1dd139 | 72:2e2a5c3f943a |
---|---|
17 super(funcalias.loc, funcalias.endloc, funcalias.ident, funcalias.storage_class, funcalias.type); | 17 super(funcalias.loc, funcalias.endloc, funcalias.ident, funcalias.storage_class, funcalias.type); |
18 assert(funcalias !is this); | 18 assert(funcalias !is this); |
19 this.funcalias = funcalias; | 19 this.funcalias = funcalias; |
20 } | 20 } |
21 | 21 |
22 FuncAliasDeclaration isFuncAliasDeclaration() { return this; } | 22 override FuncAliasDeclaration isFuncAliasDeclaration() { return this; } |
23 | 23 |
24 string kind() | 24 override string kind() |
25 { | 25 { |
26 return "function alias"; | 26 return "function alias"; |
27 } | 27 } |
28 | 28 |
29 Symbol* toSymbol() | 29 override Symbol* toSymbol() |
30 { | 30 { |
31 assert(false); | 31 assert(false); |
32 } | 32 } |
33 } | 33 } |