• Tae Hyung Kim's avatar
    Handle dollar signs properly when generating localizations (#125514) · 8be335f2
    Tae Hyung Kim authored
    Currently, the code doesn't properly handle strings which contain dollar signs. The return expression for the generated localization function is computed by `generateReturnExpr` which concatenates several strings, which are either interpolated placeholders, interpolated function calls, or normal strings, but we didn't properly escape dollar signs before sending normal strings to `generateReturnExpr`.
    
    Fixes #125461.
    8be335f2
localizations_utils.dart 17.7 KB