mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
ErasedLambda
This commit is contained in:
parent
7d3e7ffdfb
commit
18f381e782
2 changed files with 6 additions and 0 deletions
|
@ -53,6 +53,8 @@ function contentStyles(desc: TypeDescriptor | undefined): ContentStyles {
|
|||
return { name: "Rec", bg: "bg-blue-grey-500" };
|
||||
case "LambdaSet":
|
||||
return { name: "LambdaSet", bg: "bg-green-500" };
|
||||
case "ErasedLambda":
|
||||
return { name: "ErasedLambda", bg: "bg-green-700" };
|
||||
case "Alias": {
|
||||
switch (content.kind.type) {
|
||||
case "Structural":
|
||||
|
|
|
@ -79,6 +79,10 @@ export type Content =
|
|||
unspecialized: UnspecializedClosureType[];
|
||||
[k: string]: unknown;
|
||||
}
|
||||
| {
|
||||
type: "ErasedLambda";
|
||||
[k: string]: unknown;
|
||||
}
|
||||
| {
|
||||
kind: AliasKind;
|
||||
name: Symbol;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue