fmease / lushui

The reference compiler of the Lushui programming language
Apache License 2.0
7 stars 0 forks source link

Circular exposure reaches involving use-bindings results in crash #79

Closed fmease closed 2 years ago

fmease commented 3 years ago

This should make the name resolver emit an error about circular exposure reaches but instead it crashes the compiler.

use Alpha as Beta
@(public Beta) Alpha: Type = Type