Mercurial > projects > dang
comparison sema/DType.d @ 132:a101853eaae0
Better scope-building. Still an error with structs and forward ref though.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Mon, 30 Jun 2008 16:23:52 +0200 |
parents | ed815b31479b |
children | 2be29b296081 |
comparison
equal
deleted
inserted
replaced
131:3635fc5428b1 | 132:a101853eaae0 |
---|---|
325 | 325 |
326 struct DStructMember | 326 struct DStructMember |
327 { | 327 { |
328 DType type; | 328 DType type; |
329 int index; | 329 int index; |
330 | |
331 char[] toString() | |
332 { | |
333 return type.toString(); | |
334 } | |
330 } | 335 } |
331 } | 336 } |
332 | 337 |
333 class DArray : DType | 338 class DArray : DType |
334 { | 339 { |