I think the proper behavior here is that the using as statements trumps the using statement to take the identifier RichTextStyle out of the imported namespace. So now it correctly reports a compiler error.
KevinKelleyWed 22 Apr 2009
I think I agree; this came up when I went back to a file, having forgot I'd put in that using as. So, in this case at least, I needed the compiler to remind me.
I assume you can still get at the original name with the pod qualifier, as fwt::RichTextStyle? Although I don't know why you'd need to.
brianWed 22 Apr 2009
I assume you can still get at the original name with the pod qualifier, as fwt::RichTextStyle? Although I don't know why you'd need to.
Yeap - I added that to the regression test just to make sure.
KevinKelley Tue 21 Apr 2009
This test case:
generates this compiler walkback:
brian Tue 21 Apr 2009
Promoted to ticket #545 and assigned to brian
brian Wed 22 Apr 2009
Ticket resolved in 1.0.42
I think the proper behavior here is that the
using as
statements trumps theusing
statement to take the identifierRichTextStyle
out of the imported namespace. So now it correctly reports a compiler error.KevinKelley Wed 22 Apr 2009
I think I agree; this came up when I went back to a file, having forgot I'd put in that
using as
. So, in this case at least, I needed the compiler to remind me.I assume you can still get at the original name with the pod qualifier, as
fwt::RichTextStyle
? Although I don't know why you'd need to.brian Wed 22 Apr 2009
Yeap - I added that to the regression test just to make sure.