Bug 14753 – pragma(inline) hides the alias "string"

Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-07-01T01:11:00Z
Last change time
2017-07-22T12:35:48Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
jiki

Comments

Comment #0 by jiki — 2015-07-01T01:11:36Z
D2.068 is adding new pragma(inline). But this code does not work with D2.068-b1. pragma(inline) void test(string) { } ------------------------------------ Error: undefined identifier 'string' I think this is a critical or blocker bug.
Comment #1 by k.hara.pg — 2015-07-01T11:39:03Z
Comment #2 by github-bugzilla — 2015-07-05T23:02:15Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0b98ae3a89000291819613958e07ccc38da1abc0 fix Issue 14753 - pragma(inline) hides the alias "string" https://github.com/D-Programming-Language/dmd/commit/692c7a5a4e54d686aa4536ee9325e161bffbeec6 Merge pull request #4793 from 9rnsr/fix14753 Issue 14753 - pragma(inline) hides the alias "string"
Comment #3 by github-bugzilla — 2015-07-07T11:10:57Z
Commit pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/cbab6d6303783a22ee65a5a1e777a50d038133fa Merge pull request #4793 from 9rnsr/fix14753 Issue 14753 - pragma(inline) hides the alias "string"
Comment #4 by github-bugzilla — 2015-07-24T03:20:19Z
Comment #5 by github-bugzilla — 2015-10-04T18:18:52Z
Comment #6 by github-bugzilla — 2017-07-22T12:35:48Z
Commits pushed to dmd-cxx at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/0b98ae3a89000291819613958e07ccc38da1abc0 fix Issue 14753 - pragma(inline) hides the alias "string" https://github.com/dlang/dmd/commit/692c7a5a4e54d686aa4536ee9325e161bffbeec6 Merge pull request #4793 from 9rnsr/fix14753