Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 9743 - IFTI and polymorphic string literal should support implicit conversion to static array type #1761

Merged
merged 3 commits into from
Mar 18, 2013

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Mar 18, 2013

@MartinNowak
Copy link
Member

There is a related Bugzilla 9747 which gets fixed by this pull request. Can you please integrate the test cases.

@@ -1496,7 +1496,7 @@ MATCH TemplateDeclaration::deduceFunctionTemplateMatch(Loc loc, Scope *sc, Objec
prmtype->ty == Taarray && (taai = ((TypeAArray *)prmtype)->index)->ty == Tident &&
((TypeIdentifier *)taai)->idents.dim == 0))
{
if (farg->op == TOKstring && !((StringExp *)farg)->committed)
Copy link
Member

Choose a reason for hiding this comment

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

This also fixes Bugzilla 9747.

@9rnsr
Copy link
Contributor Author

9rnsr commented Mar 18, 2013

Added test case for issue 9747.

MartinNowak added a commit that referenced this pull request Mar 18, 2013
Issue 9743 - IFTI and polymorphic string literal should support implicit conversion to static array type
@MartinNowak MartinNowak merged commit 6b634f3 into dlang:master Mar 18, 2013
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