mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- @is_const is deprecated in favour of directly using $defined.
- `@is_lvalue(#value)` is deprecated in favour of directly using `$defined`.
This commit is contained in:
@@ -18,7 +18,7 @@ fn void main()
|
||||
}
|
||||
|
||||
<*
|
||||
@require values::@is_lvalue(#s)
|
||||
@require $defined(#s = #s)
|
||||
*>
|
||||
macro int @read_int(String #s)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user