mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Use is_usable logic for recent continuation and choice recursive name lookup fixes (#1312)
This commit is contained in:
@@ -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