D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 17612 - [REG2.063] Segmentation fault with bad object.d
Summary: [REG2.063] Segmentation fault with bad object.d
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P5 regression
Assignee: No Owner
URL:
Keywords: ice
Depends on:
Blocks:
 
Reported: 2017-07-06 14:44 UTC by Vladimir Panteleev
Modified: 2017-08-16 13:23 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Vladimir Panteleev 2017-07-06 14:44:32 UTC
////// object.d //////
module object;

class Object
{
    string toString();
}

class TypeInfo {}
//////////////////////

$ dmd object.d
object.d(5): Error: undefined identifier 'string'
27160 Segmentation fault      (core dumped) dmd object.d

Introduced in https://github.com/dlang/dmd/pull/1822
Comment 1 Walter Bright 2017-07-06 22:45:44 UTC
https://github.com/dlang/dmd/pull/6975
Comment 2 github-bugzilla 2017-07-10 01:23:13 UTC
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/9e486c36fc76b7ccf45e3d9f19fa9115e7986d19
fix Issue 17612 - [REG2.063] Segmentation fault with bad object.d

https://github.com/dlang/dmd/commit/49c0625f305907aa4f9d81aff3370598aac2f5b7
Merge pull request #6975 from WalterBright/fix17612

fix Issue 17612 - [REG2.063] Segmentation fault with bad object.d
merged-on-behalf-of: Martin Nowak <code@dawg.eu>
Comment 3 github-bugzilla 2017-08-07 13:17:23 UTC
Commits pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/9e486c36fc76b7ccf45e3d9f19fa9115e7986d19
fix Issue 17612 - [REG2.063] Segmentation fault with bad object.d

https://github.com/dlang/dmd/commit/49c0625f305907aa4f9d81aff3370598aac2f5b7
Merge pull request #6975 from WalterBright/fix17612
Comment 4 github-bugzilla 2017-08-16 13:23:29 UTC
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/9e486c36fc76b7ccf45e3d9f19fa9115e7986d19
fix Issue 17612 - [REG2.063] Segmentation fault with bad object.d

https://github.com/dlang/dmd/commit/49c0625f305907aa4f9d81aff3370598aac2f5b7
Merge pull request #6975 from WalterBright/fix17612