Factor tuples into structs to aid in understanding.

This commit is contained in:
Stephen Chung
2022-01-28 10:11:40 +08:00
parent b86dd3f586
commit 20baae71d4
11 changed files with 386 additions and 272 deletions

View File

@@ -317,11 +317,10 @@ fn test_module_from_ast() -> Result<(), Box<EvalAltResult>> {
foo = calc(foo);
hello = `hello, ${foo} worlds!`;
export
x as abc,
x as xxx,
foo,
hello;
export x as abc;
export x as xxx;
export foo;
export hello;
"#,
)?;