Adhering to changes in metagen

This commit is contained in:
Pavel Shevaev 2023-08-03 18:04:07 +03:00
parent e7fa182cb4
commit 6fd0628de7
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ function defaultValue(mtgMetaField $field)
function parseMetaField(string $str, mtgMetaInfo $meta): mtgMetaField
{
list($name, $type) = explode('|', $str);
return new mtgMetaField($name, new mtgTypeRef(new mtgBuiltinType($type), $meta));
return new mtgMetaField($name, new mtgTypeRef(new mtgBuiltinType($type)));
}
function go_type(\mtgType $type, array $tokens = array())