August 18, 2014 [Issue 7958] Uniform Function Call fails if class defined inside a function | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7958 hsteoh@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hsteoh@quickfur.ath.cx --- Comment #2 from hsteoh@quickfur.ath.cx --- The original test case now works in DMD git head. However, the one given in comment #1 still doesn't work. -- | ||||
August 16, 2022 [Issue 7958] Uniform Function Call fails if class defined inside a function | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7958 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |INVALID --- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> --- This bug report is not valid as per the spec [1] (point 7): "Functions declared in a local scope are not found when searching for a matching UFCS function. Neither are other local symbols, although local imports are searched." [1] https://dlang.org/spec/function.html#pseudo-member -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply