mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 11:02:39 +00: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 parent
422639685b
commit
57c0a6c076
10 files changed
+475
-16
No files matched your search
+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