fix(kernel/expr): constructor order
This commit is contained in:
parent
45202eca16
commit
0119926022
2 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ class expr;
|
|||
| Let name expr expr expr
|
||||
| Macro macro
|
||||
*/
|
||||
enum class expr_kind { Var, Sort, Constant, Meta, Local, App, Lambda, Pi, Let, Macro };
|
||||
enum class expr_kind { Var, Local, Sort, Constant, Meta, App, Lambda, Pi, Let, Macro };
|
||||
class expr_cell {
|
||||
protected:
|
||||
// The bits of the following field mean:
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ public:
|
|||
#if defined(LEAN_VM_UNCHECKED)
|
||||
#define lean_vm_check(cond) lean_assert(cond)
|
||||
#else
|
||||
#define lean_vm_check(cond) { if (LEAN_UNLIKELY(!(cond))) vm_check_failed(#cond); }
|
||||
#define lean_vm_check(cond) { lean_assert(cond); if (LEAN_UNLIKELY(!(cond))) vm_check_failed(#cond); }
|
||||
#endif
|
||||
|
||||
void display(std::ostream & out, vm_obj const & o);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue