D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7277 - [CTFE ICE] Assertion failure: 'thisval' on line 1690 in file 'interpret.c'
Summary: [CTFE ICE] Assertion failure: 'thisval' on line 1690 in file 'interpret.c'
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2012-01-12 00:22 UTC by Nick Sabalausky
Modified: 2012-01-21 16:13 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 Nick Sabalausky 2012-01-12 00:22:36 UTC
struct Foo
{
	int a;
	int func()
	{
		void nested()
		{
			a = 1;
		}
		nested();
		return 1;
	}
}

enum x = Foo().func();
Comment 1 github-bugzilla 2012-01-21 15:02:43 UTC
Commit pushed to https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/89c71d8d8e0355167fc24dc671e6aa9b385a565a
Merge pull request #633 from donc/ctfe7216

CTFE ICE bugs 7216 and 7277