Fix formatting of negative floating point literals
Fix formatting of floating point literals that use `−` (Unicode U+2212)
instead of the typically used `-` (ASCII/Unicode U+002D). The parser
treats them as synonyms but the former triggered an assertion error in
Runic while formatting. After this change Runic will normalize to `-`
when formatting. Fixes#137.
@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Fixed
- Fix formatting of floating point literals that use `−` (Unicode U+2212) instead of the
typically used `-` (ASCII/Unicode U+002D). The parser treats them as synonyms but the
former triggered an assertion error in Runic while formatting. After this change Runic
will normalize to `-` when formatting ([#137], [#138]).
## [v1.4.2] - 2025-02-18
### Fixed
- Add missing documentation of `--lines` to the `--help` output ([#136]).
@ -122,6 +129,7 @@ First stable release of Runic.jl. See [README.md](README.md) for details and doc
@@ -122,6 +129,7 @@ First stable release of Runic.jl. See [README.md](README.md) for details and doc
@ -142,3 +150,5 @@ First stable release of Runic.jl. See [README.md](README.md) for details and doc
@@ -142,3 +150,5 @@ First stable release of Runic.jl. See [README.md](README.md) for details and doc