The toolchain crashes when importing an API file containing an undefined interface and an impl of that interface. The import in question can be the implicit import of an API file from its impl file.
What did you do, or what's a simple way to reproduce the bug?
The following file_test input reproduces the issue:
Description of the bug:
The toolchain crashes when importing an API file containing an undefined interface and an impl of that interface. The import in question can be the implicit import of an API file from its impl file.
What did you do, or what's a simple way to reproduce the bug?
The following file_test input reproduces the issue:
I'm not sure whether this kind of thing should be valid, but I didn't expect it to crash.
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?
This may be related to #4071, but the crash logs are different. Here's the crash log for this one: