https://issues.dlang.org/show_bug.cgi?id=18000
Walter Bright changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=18000
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|-
aware
https://github.com/dlang/dmd/commit/133973354df526664b22cacdf488785fa911209f
Merge pull request #8011 from WalterBright/fix18000
fix Issue 18000 - [scope] auto-generated opAssign not scope aware
merged-on-behalf-of: Walter Bright
--
https://issues.dlang.org/show_bug.cgi?id=18000
--- Comment #2 from Walter Bright ---
https://github.com/dlang/dmd/pull/8011
--
https://issues.dlang.org/show_bug.cgi?id=18000
--- Comment #1 from Walter Bright ---
Attributes are inferred for the generated opAssign, the result looks like:
@nogc ref return @trusted File opAssign(File p)
Not sure why scope is not inferred.
In any case, the example has problems as well:
https://issues.dlang.org/show_bug.cgi?id=18000
Walter Bright changed:
What|Removed |Added
Keywords||safe
CC|
https://issues.dlang.org/show_bug.cgi?id=18000
Carsten Blüggel changed:
What|Removed |Added
CC||chi...@posteo.net
--