Skip to content

Commit 3173301

Browse files
committed
#201 - fix
1 parent fa193a7 commit 3173301

File tree

1 file changed

+5
-5
lines changed
  • src/Domain/HydraScript.Domain.FrontEnd/Parser/Impl/Ast/Nodes/Declarations

1 file changed

+5
-5
lines changed

src/Domain/HydraScript.Domain.FrontEnd/Parser/Impl/Ast/Nodes/Declarations/TypeValue.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ public abstract record TypeValue : IVisitable<TypeValue>
1212
[AutoVisitable<TypeValue>]
1313
public partial record TypeIdentValue(IdentifierReference TypeId) : TypeValue
1414
{
15-
public static TypeValue String => new TypeIdentValue(new IdentifierReference("string"));
16-
public static TypeValue Number => new TypeIdentValue(new IdentifierReference("number"));
17-
public static TypeValue Boolean => new TypeIdentValue(new IdentifierReference("boolean"));
18-
public static TypeValue Null => new TypeIdentValue(new IdentifierReference("null"));
19-
public static TypeValue Undefined => new TypeIdentValue(new IdentifierReference("undefined"));
15+
public static TypeIdentValue String => new(new IdentifierReference("string"));
16+
public static TypeIdentValue Number => new(new IdentifierReference("number"));
17+
public static TypeIdentValue Boolean => new(new IdentifierReference("boolean"));
18+
public static TypeIdentValue Null => new(new IdentifierReference("null"));
19+
public static TypeIdentValue Undefined => new(new IdentifierReference("undefined"));
2020

2121
public override string ToString() => TypeId;
2222
}

0 commit comments

Comments
 (0)