Revert string interp (#49602)

This commit is contained in:
Dan Field
2020-01-28 07:56:51 -08:00
committed by GitHub
parent bc5ea0a05a
commit fabeb2a16f
57 changed files with 88 additions and 80 deletions

View File

@@ -25,7 +25,7 @@ class CodeGenerator {
currentLine += ' $word';
} else {
result.writeln('$prefix$currentLine');
currentLine = word;
currentLine = '$word';
}
}
if (currentLine.isNotEmpty) {

View File

@@ -339,7 +339,7 @@ String describeLocale(String tag) {
assert(subtags.isNotEmpty);
assert(_languages.containsKey(subtags[0]));
final String language = _languages[subtags[0]];
String output = language;
String output = '$language';
String region;
String script;
if (subtags.length == 2) {