Open JustusAdam opened 9 months ago
Here is the code I tried
fn main() -> u32 { id(create()) } // external fn create() -> u32; fn id<T>(t: T) -> T;
I would have expected this to create a PDG return@create -> arg[0]@id -> return@id -> return@main but instead it creates this
return@create -> arg[0]@id -> return@id -> return@main
The input of id is for some reason not connected to anything, but its parent is connected to its return? This is very strange.
id
Here is the code I tried
I would have expected this to create a PDG
return@create -> arg[0]@id -> return@id -> return@main
but instead it creates thisThe input of
id
is for some reason not connected to anything, but its parent is connected to its return? This is very strange.