dmd/changelog/deprecated_binary_literals.dd
2018-09-26 22:47:53 +02:00

9 lines
280 B
Text

Deprecate invalid binary literals
Prior to this release, binary literals without any digits after the prefix `0b`
were considered valid. This has now been deprecated.
---
auto foo = 0b; // deprecated
auto bar = 0b_; // deprecated
auto baz = 0b0; // conforming equivalent
---