Skip to content

Commit

Permalink
add bool type to findTypee
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Feb 25, 2023
1 parent d291ddb commit 09ecfe4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kscr-core/RuntimeBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ public Stack Execute(string? mainClassName = null)
else if (name.EndsWith("double>"))
return Class.NumericDoubleType;
else return Class.NumericType.DefaultInstance;
if (name == "bool")
return Class.BoolType;
if (name == "byte")
return Class.NumericByteType;
if (name == "short")
Expand Down

0 comments on commit 09ecfe4

Please sign in to comment.