fuzion icon indicating copy to clipboard operation
fuzion copied to clipboard

Types declared in type features cannot be referenced. Maybe forbid them?

Open fridis opened this issue 1 year ago • 0 comments

This code creates two type features that themselves declare types.

test_type is

  type.point(x, y i32) is

  type.opt : choice i32 bool is

This currently compiles without problem, but it is useless since there is no syntax to describe the type of point or opt. We should probably forbid this.

fridis avatar Jul 15 '24 12:07 fridis