Mercurial > projects > ddmd
comparison dmd/TypeArray.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 | be2ab491772e |
comparison
equal
deleted
inserted
replaced
71:8e24ef1dd139 | 72:2e2a5c3f943a |
---|---|
27 this(TY ty, Type next) | 27 this(TY ty, Type next) |
28 { | 28 { |
29 super(ty, next); | 29 super(ty, next); |
30 } | 30 } |
31 | 31 |
32 Expression dotExp(Scope sc, Expression e, Identifier ident) | 32 override Expression dotExp(Scope sc, Expression e, Identifier ident) |
33 { | 33 { |
34 Type n = this.next.toBasetype(); // uncover any typedef's | 34 Type n = this.next.toBasetype(); // uncover any typedef's |
35 | 35 |
36 version (LOGDOTEXP) { | 36 version (LOGDOTEXP) { |
37 printf("TypeArray.dotExp(e = '%s', ident = '%s')\n", e.toChars(), ident.toChars()); | 37 printf("TypeArray.dotExp(e = '%s', ident = '%s')\n", e.toChars(), ident.toChars()); |