arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
721 stars 32 forks source link

[VM/ast] show warning in case `else` is preceded by `if` - and not `if?` #1037

Open github-actions[bot] opened 1 year ago

github-actions[bot] commented 1 year ago

[VM/ast] show warning in case else is preceded by if - and not if?

https://github.com/arturo-lang/arturo/blob/ed0410b81b479dcf090b239e2193a45ecf65cd5d/src/vm/ast.nim#L18

## The main entry point is ``generateAst``.

# TODO(VM/ast) show warning in case `else` is preceded by `if` - and not `if?`
#  labels: vm, ast, enhancement, error handling

# TODO(VM/ast) make sure all left-right checking are not Newlines
#  labels: vm, ast, enhancement, unit-test

#=======================================
# Libraries
ndex 206380848b..f9e5eea81b 100644
++ b/src/vm/values/comparison.nim

7b06a20e8d1669c1c9ee380d7c6d8d5b9872449c

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 8 months ago

Closing issue as stale.

stale[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.