File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -489,6 +489,15 @@ defmodule Cldr.Backend do
489489
490490 with { :ok , % LanguageTag { cldr_locale_name: locale_name } } <- validate_locale ( locale ) do
491491 marks = quote_marks_for ( locale_name )
492+
493+ if ! is_map ( marks . quotation_start ) do
494+ IO . inspect marks . quotation_start , label: "Quote start for #{ locale_name } is not a map"
495+ end
496+
497+ if ! is_map ( marks . quotation_end ) do
498+ IO . inspect marks . quotation_end , label: "Quote end for #{ locale_name } is not a map"
499+ end
500+
492501 quote_start = quote_preference ( marks . quotation_start , preference )
493502 quote_end = quote_preference ( marks . quotation_end , preference )
494503
@@ -806,15 +815,7 @@ defmodule Cldr.Backend do
806815 |> Map . get ( :delimiters )
807816
808817 defp quote_marks_for ( unquote ( locale_name ) ) do
809- marks = unquote ( Macro . escape ( delimiters ) )
810- # if !is_map(marks.quotation_start) do
811- # IO.inspect marks.quotation_start, label: "Quote start for #{unquote(locale_name)} is not a map"
812- # end
813- #
814- # if !is_map(marks.quotation_end) do
815- # IO.inspect marks.quotation_end, label: "Quote end for #{unquote(locale_name)} is not a map"
816- # end
817- marks
818+ unquote ( Macro . escape ( delimiters ) )
818819 end
819820
820821 ellipsis =
You can’t perform that action at this time.
0 commit comments