From 90c34e3db4fdc7be79c62bd91905a2a84bbd673e Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 10 Jul 2025 21:14:16 -0700 Subject: Ensure generic constraints are checked before inner extension. (#7685) * Ensure generic constraints are checked before inner extension. * Add warning for non-standard generic extension. * Fix tests. * Fix test. * Ban interface types from equality constraints. * Fix. --- tests/bugs/gh-5140.slang | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/bugs') diff --git a/tests/bugs/gh-5140.slang b/tests/bugs/gh-5140.slang index 23d9b3a23..bf18b04a6 100644 --- a/tests/bugs/gh-5140.slang +++ b/tests/bugs/gh-5140.slang @@ -3,6 +3,8 @@ //TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer +#pragma warning(disable:30856) + public interface A { } -- cgit v1.2.3