Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
July 29, 2014 [Issue 13223] Cannot deduce argument for array template parameters | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13223 --- Comment #1 from Dragos Carp <dragoscarp@gmail.com> --- T foo(T)(T a1, T a2) { return a1 ~ a2; } void main() { int[] a = [1, 2]; assert(foo(a, []) == [1, 2]); } This code (non array template types) works with 2.066.0-b6 and generates the previous described compile error with 2.065. -- |
July 29, 2014 [Issue 13223] Cannot deduce argument for array template parameters | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13223 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> --- https://github.com/D-Programming-Language/dmd/pull/3828 -- |
July 31, 2014 [Issue 13223] Cannot deduce argument for array template parameters | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13223 --- Comment #3 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/dbcf7ac7ce8c3ce937cb21974eaaa748c041fdfd fix Issue 13223 - Cannot deduce argument for array template parameters This is a quick hack to support issue case. https://github.com/D-Programming-Language/dmd/commit/58306b8ccc088135ba5cf7a79289cdda87f4512a Merge pull request #3828 from 9rnsr/fix13223 [REG2.066a] Issue 13223 - Cannot deduce argument for array template parameters -- |
July 31, 2014 [Issue 13223] Cannot deduce argument for array template parameters | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13223 --- Comment #4 from github-bugzilla@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a5f1c51e7d964ce8fea360bf1429654a67454305 Merge pull request #3828 from 9rnsr/fix13223 [REG2.066a] Issue 13223 - Cannot deduce argument for array template parameters -- |
August 22, 2014 [Issue 13223] Cannot deduce argument for array template parameters | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13223 --- Comment #5 from github-bugzilla@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a5f1c51e7d964ce8fea360bf1429654a67454305 Merge pull request #3828 from 9rnsr/fix13223 -- |
Copyright © 1999-2021 by the D Language Foundation