Skip to content

Commit 5785f3a

Browse files
committed
[Dana] Add comment to explain what the (semantic) error is
1 parent ede0569 commit 5785f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dana/programs-erroneous/if_condition_byte.dana

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
def main
44
var b is byte
55
b := true
6-
if b:
6+
if b: # should be "if b = true:" instead
77
writeString: "erroneous"

0 commit comments

Comments
 (0)