Two improvements [suggested](https://github.com/leanprover/lean4/pull/2970#issuecomment-1853436906) by @digama0 after the initial PR was merged. * Allow testing `implemented_by` attributes as well. * Use `DecidableEq` rather than `BEq` for stricter testing.
3 lines
273 B
Text
3 lines
273 B
Text
test_extern.lean:6:0-6:17: error: test_extern: HAdd.hAdd does not have an @[extern] attribute or @[implemented_by] attribute
|
|
test_extern.lean:15:0-15:13: error: native implementation did not agree with reference implementation!
|
|
Compare the outputs of: #eval g and #eval 4
|