You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spec says {.experimental: "dotOperators".} is needed for dot operators, regardless of template vs macro.
current implementation differs, allowing template without {.experimental: "dotOperators".} (but agrees for macro)
changing the implementation to match spec may break existing code; maybe not too bad since the fix is not hard (either changing sources to add {.push experimental: "dotOperators".} .. {.pop.} if user can, or passing --experimental:dotOperators on cmdline
The text was updated successfully, but these errors were encountered:
timotheecour
changed the title
{.experimental: "dotOperators".} not needed for template .(a, b), violating spec
[minor] {.experimental: "dotOperators".} not needed for template .(a, b), violating spec
Jan 4, 2020
timotheecour
changed the title
[minor] {.experimental: "dotOperators".} not needed for template .(a, b), violating spec
{.experimental: "dotOperators".} not needed for template .(a, b), violating spec
Feb 3, 2021
spec says
{.experimental: "dotOperators".}
is needed for dot operators, regardless of template vs macro.current implementation differs, allowing template without
{.experimental: "dotOperators".}
(but agrees for macro)Example
Current Output
compiles
Expected Output
Error: the overloaded . operator has to be enabled with {.experimental: "dotOperators".}
Additional Information
{.push experimental: "dotOperators".} .. {.pop.}
if user can, or passing--experimental:dotOperators
on cmdlineThe text was updated successfully, but these errors were encountered: