This PR sets up the new integrated test/bench suite. It then migrates all benchmarks and some related tests to the new suite. There's also some documentation and some linting. For now, a lot of the old tests are left alone so this PR doesn't become even larger than it already is. Eventually, all tests should be migrated to the new suite though so there isn't a confusing mix of two systems.
27 lines
870 B
Text
27 lines
870 B
Text
macroStack.lean:4:5-4:6: error(lean.unknownIdentifier): Unknown identifier `x`
|
|
macroStack.lean:8:6-8:7: error: Unknown identifier `x`
|
|
with resulting expansion
|
|
binrel% GT.gt✝ x 0
|
|
while expanding
|
|
x > 0
|
|
while expanding
|
|
(x > 0)
|
|
while expanding
|
|
if h : (x > 0) then 1 else 0
|
|
macroStack.lean:11:9-11:15: error: invalid use of `(<- ...)`, must be nested inside a 'do' expression
|
|
macroStack.lean:17:0-17:6: error: failed to synthesize instance of type class
|
|
HAdd Nat String ?m
|
|
|
|
Hint: Type class instance resolution failures can be inspected with the `set_option trace.Meta.synthInstance true` command.
|
|
with resulting expansion
|
|
binop% HAdd.hAdd✝ (x + x✝) x✝¹
|
|
while expanding
|
|
(x + x✝) + x✝¹
|
|
while expanding
|
|
foo!(x + x✝)
|
|
while expanding
|
|
foo!(x + x✝) < 1
|
|
while expanding
|
|
if foo!(x + x✝) < 1 then true✝ else false✝
|
|
while expanding
|
|
bla! x
|