Skip to content

Add support for warnings#1735

Open
drkameleon wants to merge 15 commits intomasterfrom
add-support-for-warnings
Open

Add support for warnings#1735
drkameleon wants to merge 15 commits intomasterfrom
add-support-for-warnings

Conversation

@drkameleon
Copy link
Collaborator

Description

After re-designing our Error system (with quite some success), we should also enable some form of Warning system.

This isn't going to be anything too elaborate, just a uniform way to support basic, non-throwing warning messages (e.g. "function X has been deprecated, use Y.").

Also, we should make it possible to make these warnings disappear on-demand - for example, based on a flag or sth along the lines.

Along with this new "feature", we should also add an library function (warn would sounds quite self-explanatory I think), which would go in the Exceptions (could be renamed? 🤔 )

Let's go for it! 🚀

Type of change

  • New feature (non-breaking change which adds functionality)

@drkameleon drkameleon added vm Issues related to the Virtual Machine implementation error handling Issues related to Error handling library Issues related to the standard library labels Sep 25, 2024
@github-actions github-actions bot removed vm Issues related to the Virtual Machine implementation error handling Issues related to Error handling library Issues related to the standard library labels Sep 25, 2024
@github-actions github-actions bot added vm Issues related to the Virtual Machine implementation error handling Issues related to Error handling command line Issues related to Arturo's command-line and options labels Sep 25, 2024
@drkameleon drkameleon force-pushed the add-support-for-warnings branch from 4ee2410 to 7901c0a Compare December 17, 2025 13:46
@github-actions github-actions bot added documentation Improvements or additions to documentation repl Issues related to the REPL library Issues related to the standard library installer Issues related to the Installation script package manager Issues related to the Package Manager labels Dec 17, 2025
@drkameleon drkameleon removed documentation Improvements or additions to documentation vm Issues related to the Virtual Machine implementation repl Issues related to the REPL error handling Issues related to Error handling library Issues related to the standard library installer Issues related to the Installation script package manager Issues related to the Package Manager 3rd-party Issues related to 3rd-party libraries and code unit-test Unit tests helpers Issues related to Helper modules evaluator Issues related to the evaluator (src/vm/eval.nim) labels Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

error handling Issues related to Error handling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant