b08c606696
This commit also includes a new test that exposes the problem. The options in the io_state object were being lost. Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
14 lines
No EOL
237 B
Text
14 lines
No EOL
237 B
Text
|
|
Variables a b : Int
|
|
Show Options
|
|
(**
|
|
local ios = io_state()
|
|
|
|
print(get_options())
|
|
print(get_options())
|
|
ios:print(parse_lean("a + b"))
|
|
print(parse_lean("fun x, a + x"))
|
|
print(get_options())
|
|
**)
|
|
Show Options
|
|
Show Environment 2 |