mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix @expect.
This commit is contained in:
@@ -124,7 +124,7 @@ macro bool @expect_true(bool value) @builtin => $$expect(value, true);
|
||||
macro bool @expect_false(bool value) @builtin => $$expect(value, false);
|
||||
|
||||
/**
|
||||
* @require values.is_int(value)
|
||||
* @require values::@is_int(value)
|
||||
* @checked $typeof(value) a = expected
|
||||
**/
|
||||
macro @expect(value, expected) @builtin
|
||||
|
||||
Reference in New Issue
Block a user