Radar · Solidity · Archive · Week 18 · Apr 27 – May 3, 2026
Formalization of experimental feature gating
Worth knowinglanguage
- What changed
- In‑development functionality is now gated behind explicit compiler flags, making experimental features opt‑in.
- Production impact
- The source does not say.
- Try it
- Compile with
--experimentaland see that experimental features are enabled only when the flag is present. - Source
- soliditylang.org/blog/2026/04/29/solidity-0.8.35-release-announcement
Understand it, then run it
In Solidity 0.8.35 a new compiler flag called --experimental was added. It is a master switch that must be turned on before any experimental feature can be used. If you try to enable an experimental option without first turning on --experimental, the compiler will refuse to build the code. The flag does not enable any particular feature by itself; it simply allows the compiler to accept the per‑feature flags or pragmas that are listed in the official documentation.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed