Skip to content

Commit 0c75713

Browse files
committed
Fix unquoting invalid AST. Closes #53
1 parent 2afd995 commit 0c75713

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## Cldr Numbers v2.33.4
4+
5+
This is the changelog for Cldr v2.33.4 released on November 13th, 2024. For older changelogs please consult the release tag on [GitHub](https://github.com/elixir-cldr/cldr_numbers/tags)
6+
7+
### Bug Fixes
8+
9+
* Fixes unquoting invalid AST on the upcoming Elixir 1.18. Thanks very much to @sabiwara for the [PR](https://github.com/elixir-cldr/cldr_numbers/pull/52). Thanks too to @SteffenDE for the report. Closes #53.
10+
311
## Cldr Numbers v2.33.3
412

513
This is the changelog for Cldr v2.33.3 released on August 16th, 2024. For older changelogs please consult the release tag on [GitHub](https://github.com/elixir-cldr/cldr_numbers/tags)

lib/cldr/number/backend/decimal_formatter.ex

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ defmodule Cldr.Number.Backend.Decimal.Formatter do
4848
end
4949
end
5050

51-
# # Precompile the known formats and build the formatting pipeline
52-
# # specific to this format thereby optimizing the performance.
51+
# Precompile the known formats and build the formatting pipeline
52+
# specific to this format thereby optimizing the performance.
5353
unquote(Decimal.define_to_string(backend))
5454

55-
# # Other number formatting systems may create the formatting
56-
# # metadata by other means (like a printf function) in which
57-
# # case we don't do anything except format
55+
# Other number formatting systems may create the formatting
56+
# metadata by other means (like a printf function) in which
57+
# case we don't do anything except format
5858
def to_string(number, %Meta{} = meta, %Options{} = options) do
5959
meta = Decimal.update_meta(meta, number, unquote(backend), options)
6060
Decimal.do_to_string(number, meta, unquote(backend), options)

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule Cldr.Numbers.Mixfile do
33

44
use Mix.Project
55

6-
@version "2.33.3"
6+
@version "2.33.4"
77

88
def project do
99
[

0 commit comments

Comments
 (0)