January 22, 2005 double alias -> need 'this' to access member | ||||
---|---|---|---|---|
| ||||
# class Check{ # void sum(byte[] b){ # } # # void add(byte b){ # } # # alias sum write; # alias add write; # # void test(){ # byte[] buffer; # write(buffer); # } # } > need 'this' to access member sum removing "alias add write" resloves the error message test cases: http://dstress.kuehne.cn/run/alias_13.d http://dstress.kuehne.cn/run/alias_14.d Thomas |
Copyright © 1999-2021 by the D Language Foundation