mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:14:42 +01:00
Handling for cross-package imports of "export name". (#3967)
Starts warning on duplicate "export name" because I'm updating name lookup to make it work. Need to think harder about how to handle cross-package "export import". But adding some failing tests to sketch out what *should* work.
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ var f: () = F();
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: file {
|
||||
// CHECK:STDOUT: package: <namespace> = namespace [template] {
|
||||
// CHECK:STDOUT: .F = %import_ref
|
||||
// CHECK:STDOUT: .F = %F
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT: %import_ref: F = import_ref ir1, inst+1, loaded [template = constants.%struct]
|
||||
// CHECK:STDOUT: %F: F = export F, %import_ref [template = constants.%struct]
|
||||
|
||||
Reference in New Issue
Block a user