xo-reader: + block utest + assignment utest [wip, not passsing]
This commit is contained in:
parent
1145830bb1
commit
22d4c6c601
2 changed files with 3 additions and 2 deletions
|
|
@ -188,7 +188,7 @@ namespace xo {
|
|||
scope log(XO_DEBUG(c_debug_flag));
|
||||
|
||||
log && log(xtag("exstype", this->exs_type_),
|
||||
xtag("expr", expr));
|
||||
xtag("expr", expr.promote()));
|
||||
|
||||
std::unique_ptr<exprstate> self = p_psm->pop_exprstate();
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ namespace xo {
|
|||
//{"def foo : f64 = 2.0 * 3.14159265;"},
|
||||
{"def foo = lambda (x : f64) 3.1415965;"},
|
||||
{"def foo = lambda (x : f64, y : f64) 3.1415965;"},
|
||||
{"def foo = lambda (x : f64) x;"}
|
||||
{"def foo = lambda (x : f64) x;"},
|
||||
{"def foo = lambda (x : f64) { def y = x * x; y; }"},
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue