fix(frontends/lean/elaborator): option name
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
1d16b5d2ad
commit
c03ae24d22
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ Author: Leonardo de Moura
|
||||||
namespace lean {
|
namespace lean {
|
||||||
// ==========================================
|
// ==========================================
|
||||||
// elaborator configuration options
|
// elaborator configuration options
|
||||||
static name g_elaborator_local_instances{"lean", "elaborator", "local_instances"};
|
static name g_elaborator_local_instances{"elaborator", "local_instances"};
|
||||||
RegisterBoolOption(g_elaborator_local_instances, LEAN_DEFAULT_ELABORATOR_LOCAL_INSTANCES, "(lean elaborator) use local declarates as class instances");
|
RegisterBoolOption(g_elaborator_local_instances, LEAN_DEFAULT_ELABORATOR_LOCAL_INSTANCES, "(lean elaborator) use local declarates as class instances");
|
||||||
bool get_elaborator_local_instances(options const & opts) {
|
bool get_elaborator_local_instances(options const & opts) {
|
||||||
return opts.get_bool(g_elaborator_local_instances, LEAN_DEFAULT_ELABORATOR_LOCAL_INSTANCES);
|
return opts.get_bool(g_elaborator_local_instances, LEAN_DEFAULT_ELABORATOR_LOCAL_INSTANCES);
|
||||||
|
|
Loading…
Reference in a new issue