Skip to content

Added assert_ne builtin to DSLX - #4798

Open
achowd32 wants to merge 1 commit into
google:mainfrom
achowd32:assert-ne
Open

Added assert_ne builtin to DSLX#4798
achowd32 wants to merge 1 commit into
google:mainfrom
achowd32:assert-ne

Conversation

@achowd32

Copy link
Copy Markdown
Contributor

An attempt to (partially) address #4227. This PR is fairly straightforward, it just adds an assert_ne builtin. I mostly mimicked the structure of the existing assert_eq and changed whatever was necessary. This is my first contribution to the actual interpreter and IR side of the project, so please let me know if I made any mistakes - I would be happy to learn and fix them.

If everything is deemed okay, I am also happy to add more assert builtins (e.g. assert_gt, assert_le) in a future PR, if so desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant