Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
32.31k
stars
1.48k
forks
source link
Toolchain crashes on interface redeclaration #4071
Open
geoffromer opened 1 week ago
Description of the bug:
The toolchain crashes if an interface is declared in an API file and redeclared in the corresponding impl file.
What did you do, or what's a simple way to reproduce the bug?
The following file_test input reproduces the issue:
What did you expect to happen?
I'm not sure whether this kind of thing should be valid, but I didn't expect it to crash.
What actually happened?
The compiler crashed.
Any other information, logs, or outputs that you want to share?
Here's the crash log: