Skip to content

fix Issue 17495 - __traits(getParameterStorageClasses) doesn't work w…#6897

Merged
dlang-bot merged 1 commit intodlang:masterfrom
WalterBright:fix17495
Jun 13, 2017
Merged

fix Issue 17495 - __traits(getParameterStorageClasses) doesn't work w…#6897
dlang-bot merged 1 commit intodlang:masterfrom
WalterBright:fix17495

Conversation

@WalterBright
Copy link
Member

…ith tuples as parameters

blocking dlang/phobos#5474

@WalterBright WalterBright added the Review:Blocking Other Work review and pulling should be a priority label Jun 12, 2017
@dlang-bot
Copy link
Contributor

Fix Bugzilla Description
17495 __traits(getParameterStorageClasses) doesn't work with tuples as parameters

ex = ex.ctfeInterpret();
auto ii = ex.toUInteger();
if (ii >= fparams.dim)
if (ii >= Parameter.dim(fparams))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect the error message should show the new upper limit, too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

@andralex
Copy link
Member

So these are the other issue, right?

../../.dub/packages/libasync-0.8.3/libasync/source/libasync/events.d(57,2): Error: destructor 'libasync.events.EventLoop.~this' is not nothrow
../../.dub/packages/libasync-0.8.3/libasync/source/libasync/events.d(57,2): Error: nothrow constructor 'libasync.events.EventLoop.this' may throw

@CyberShadow
Copy link
Member

So these are the other issue, right?

The fix for the libasync error is here:

#6896

@WalterBright
Copy link
Member Author

right?

It's the issue for getParameterStorageClassTuples.

It's a bug, regardless, and the fix for it.

@dlang-bot dlang-bot merged commit 41131de into dlang:master Jun 13, 2017
@WalterBright WalterBright deleted the fix17495 branch June 13, 2017 09:08
@WalterBright WalterBright removed the Review:Blocking Other Work review and pulling should be a priority label Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants