From 11111e5733b189127dc2c4934d67693b9bc6e764 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 6 Dec 2023 12:05:07 -0800 Subject: Support visibility control and default to `internal`. (#3380) * Support visibility control and default to `internal`. * Fix wip. * Fixes. * Fix. * Fix test. * Add legacy language detection and compatibility for existing code. * Add doc. --------- Co-authored-by: Yong He --- .../language-feature/extensions/extension-import-helper.slang | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/language-feature/extensions') diff --git a/tests/language-feature/extensions/extension-import-helper.slang b/tests/language-feature/extensions/extension-import-helper.slang index c1a652645..11265762a 100644 --- a/tests/language-feature/extensions/extension-import-helper.slang +++ b/tests/language-feature/extensions/extension-import-helper.slang @@ -2,12 +2,12 @@ //TEST_IGNORE_FILE: -interface IThing +public interface IThing { - float getValue(); + public float getValue(); } -extension float : IThing +public extension float : IThing { - float getValue() { return this; } -} \ No newline at end of file + public float getValue() { return this; } +} -- cgit v1.2.3