D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 19923 - ICE: typesem.d(3809): Assertion failure with .classinfo
Summary: ICE: typesem.d(3809): Assertion failure with .classinfo
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 critical
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2019-05-30 17:14 UTC by Iain Buclaw
Modified: 2019-06-09 14:08 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 Iain Buclaw 2019-05-30 17:14:36 UTC
module object;
class Object{}
auto f() { Object o; return o.classinfo; }
Comment 1 Iain Buclaw 2019-05-30 17:14:53 UTC
Variant of issue 19922
Comment 2 Dlang Bot 2019-06-01 14:48:16 UTC
@ibuclaw created dlang/dmd pull request #9941 "fix Issue 19922/19923 - ICE: using typeid() or .classinfo without TypeInfo_Class" fixing this issue:

- fix Issue 19923 - ICE: typesem.d(3809): Assertion failure with .classinfo

https://github.com/dlang/dmd/pull/9941
Comment 3 Dlang Bot 2019-06-02 06:05:02 UTC
dlang/dmd pull request #9941 "fix Issue 19922/19923 - ICE: using typeid() or .classinfo without TypeInfo_Class" was merged into stable:

- 6b23d70eb5a6fadf8a5e66abfb7144f313128774 by Iain Buclaw:
  fix Issue 19923 - ICE: typesem.d(3809): Assertion failure with .classinfo

https://github.com/dlang/dmd/pull/9941
Comment 4 Dlang Bot 2019-06-09 14:08:15 UTC
dlang/dmd pull request #10004 "[dmd-cxx] fix Issue 19922/19923 - 19922 - ICE: Segmentation fault with typeid()" was merged into dmd-cxx:

- 3eee5b966b5a3170c7c76b6a6fd2f031f8d5c0f4 by Iain Buclaw:
  fix Issue 19923 - ICE: typesem.d(3809): Assertion failure with .classinfo

https://github.com/dlang/dmd/pull/10004