Skip to content

Commit 09ecfe4

Browse files
committed
add bool type to findTypee
1 parent d291ddb commit 09ecfe4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kscr-core/RuntimeBase.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ public Stack Execute(string? mainClassName = null)
309309
else if (name.EndsWith("double>"))
310310
return Class.NumericDoubleType;
311311
else return Class.NumericType.DefaultInstance;
312+
if (name == "bool")
313+
return Class.BoolType;
312314
if (name == "byte")
313315
return Class.NumericByteType;
314316
if (name == "short")

0 commit comments

Comments
 (0)