mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- $typeof untyped list crashes when trying to create typeid from it. #2779
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fn void a()
|
||||
{
|
||||
typeid a = $typeof({}); // #error: You cannot take the typeid of a compile time type
|
||||
var t @safeinfer = mem::new_array($typeof({}), 1); // #error: 'untyped_list' does not have a property or method 'alignof'
|
||||
}
|
||||
Reference in New Issue
Block a user