https://issues.dlang.org/show_bug.cgi?id=20881

--- Comment #1 from ag0aep6g <ag0ae...@gmail.com> ---
Can we actually return a problematic pointer this way? As it is, the test case
only returns `null`s.

It seems that without attribute inference, DMD assumes `get` might return a
problematic pointer. But with attribute inference, DMD looks at the actual
expression that is being returned.

--

Reply via email to