mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
FIX: bug in syntax or std/tuples.ucg.
This commit is contained in:
parent
ad7f2d22a0
commit
6cb9ccd55c
@ -58,7 +58,7 @@ let has_fields = module{
|
|||||||
|
|
||||||
let fs = lib.fields{tpl=mod.tpl}.result;
|
let fs = lib.fields{tpl=mod.tpl}.result;
|
||||||
|
|
||||||
let result = reduce(reducer = func (acc, f) => acc && (f in fs), true, (mod.fields));
|
let result = reduce(func (acc, f) => acc && (f in fs), true, mod.fields);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Check if a field in a tuple is a given type.
|
// Check if a field in a tuple is a given type.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user