mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-23 12:52:38 +00:00
Use is_usable logic for recent continuation and choice recursive name lookup fixes (#1312)
This commit is contained in:
1 parent
a97276bcf7
commit
058b5e77c0
3 files changed
+12
-10
No files matched your search
@@ -11,7 +11,7 @@
|
||||
package ExplorerTest api;
|
||||
|
||||
choice Ch {
|
||||
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/basic_syntax/fail_alternative_uses_choice.carbon:[[@LINE+1]]: could not resolve 'Ch'
|
||||
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/basic_syntax/fail_alternative_uses_choice.carbon:[[@LINE+1]]: 'Ch' is not usable until after it has been completely declared
|
||||
Opt(Ch)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user