We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1366ed commit 426bc8cCopy full SHA for 426bc8c
dana/programs-erroneous/if_condition_byte.dana
@@ -0,0 +1,7 @@
1
+# Error: 'if' condition is not boolean (byte variable used as condition)
2
+
3
+def main
4
+ var b is byte
5
+ b := true
6
+ if b:
7
+ writeString: "erroneous"
0 commit comments