d6bdd08002
the typechecker project can collect all the top level types from a file, which is pretty cool I think (except for pointers, those aren't implemented yet...)
13 lines
280 B
C#
13 lines
280 B
C#
namespace meowlang.typechecker;
|
|
|
|
public record SliceTypeDescription : TypeDescription
|
|
{
|
|
private readonly TypeId _elementType;
|
|
|
|
public SliceTypeDescription(TypeId elementType)
|
|
{
|
|
_elementType = elementType;
|
|
}
|
|
|
|
public TypeId ElementType => _elementType;
|
|
} |