Skip to content

Commit

Permalink
don't use BuiltinType.I/U128, use AlgebraicType.I/U128
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Jul 31, 2024
1 parent 7d94b10 commit 744d7ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Primitives.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void Write(BinaryWriter writer, I128 value)
}

public AlgebraicType GetAlgebraicType(ITypeRegistrar registrar) =>
new AlgebraicType.Builtin(new BuiltinType.I128(new Unit()));
new AlgebraicType.I128(new Unit());

Check failure on line 42 in src/Primitives.cs

View workflow job for this annotation

GitHub Actions / build

The type name 'I128' does not exist in the type 'AlgebraicType'

Check failure on line 42 in src/Primitives.cs

View workflow job for this annotation

GitHub Actions / build

The type name 'I128' does not exist in the type 'AlgebraicType'

Check failure on line 42 in src/Primitives.cs

View workflow job for this annotation

GitHub Actions / build

The type name 'I128' does not exist in the type 'AlgebraicType'

Check failure on line 42 in src/Primitives.cs

View workflow job for this annotation

GitHub Actions / build

The type name 'I128' does not exist in the type 'AlgebraicType'
}
}

Expand Down Expand Up @@ -76,7 +76,7 @@ public void Write(BinaryWriter writer, U128 value)
}

public AlgebraicType GetAlgebraicType(ITypeRegistrar registrar) =>
new AlgebraicType.Builtin(new BuiltinType.U128(new Unit()));
new AlgebraicType.U128(new Unit());

Check failure on line 79 in src/Primitives.cs

View workflow job for this annotation

GitHub Actions / build

The type name 'U128' does not exist in the type 'AlgebraicType'

Check failure on line 79 in src/Primitives.cs

View workflow job for this annotation

GitHub Actions / build

The type name 'U128' does not exist in the type 'AlgebraicType'

Check failure on line 79 in src/Primitives.cs

View workflow job for this annotation

GitHub Actions / build

The type name 'U128' does not exist in the type 'AlgebraicType'

Check failure on line 79 in src/Primitives.cs

View workflow job for this annotation

GitHub Actions / build

The type name 'U128' does not exist in the type 'AlgebraicType'
}
}

Expand Down

0 comments on commit 744d7ff

Please sign in to comment.