Skip to content

Conversation

dnadlinger
Copy link
Contributor

There doesn't really seem to be a reason why AA keys of type bool are not allowed, and the docs don't mention anything either. The restriction has been put in place back in the »bit« days, maybe there was a related limitation back then?

bool-key AAs probably wouldn't be too useful in practice, but it seems like a quite arbitrary and unexpected limitation to me – e.g. I would have to add special cases all over my Thrift map handling code.

WalterBright added a commit that referenced this pull request Jun 5, 2011
@WalterBright WalterBright merged commit a2d201d into dlang:master Jun 5, 2011
@dnadlinger
Copy link
Contributor Author

This has been reverted in cce360c. Did my commit cause any bugs I hadn't noticed, or did the revert just slip in?

@WalterBright
Copy link
Member

I guess this snafu demonstrates that test case code needs to be provided for each pull request.

@dnadlinger
Copy link
Contributor Author

Yes, absolutely – I am not quite sure why I didn't include the commit containing the test case here…

@WalterBright
Copy link
Member

I restored it: 5ac7c66

braddr pushed a commit to braddr/dmd that referenced this pull request Sep 15, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants