Open NCGThompson opened 6 months ago
It should probably have tests that should fail before the changes. What kind of test should I add?
Do you know what kind of tests there is for this in the LLVM codegen?
The codegen tests are probably the most thorough, but they are LLVM specific. However, according to the FileCheck documentation, it doesn't do much that can't be done with grep.
At a minimum though, I think we should check that the compiler can encounter the function without panicking.
At a minimum though, I think we should check that the compiler can encounter the function without panicking.
I would be OK with such a test. You can add it in this directory.
Is this still a draft or should I review this PR?
Fixes #414
It should probably have tests that should fail before the changes. What kind of test should I add?
I edited the builtin list in context.rs, and that might create a conflict when syncing with the rust repository.