From 6fd0628de79600ae7bc8c5aaba8a2a29e0380204 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Thu, 3 Aug 2023 18:04:07 +0300 Subject: [PATCH] Adhering to changes in metagen --- src/codegen.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegen.inc.php b/src/codegen.inc.php index aad2a8f..092cba1 100644 --- a/src/codegen.inc.php +++ b/src/codegen.inc.php @@ -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())