Extracting user defined attributes on function parameters
simen.kjaras at gmail.com
Sat Apr 18 09:19:48 UTC 2020
On Wednesday, Friday, 17 Apr 2020 17:45:47 UTC, H. S. Teoh wrote:
> I wonder if the ultimate cause of the above case is ultimately
> caused by
> the change to import semantics that hid private symbols from
> outside the
> module. Perhaps something, somewhere, is triggering an illegal
> access of
> a private symbol, which percolates up the call/instantiation
> stack and
> causing what appears to be a strange compiler discrepancy.
Not unlikely. Importing the module defining S in the module
defining ParameterDefaults does indeed make things compile.
Hiding S by making it private makes the error return.
(for whatever reason your message isn't visible in the web
More information about the Digitalmars-d-learn