Merge pull request #9852 from tausbn/python-add-str-class

Python: Add `Str` class
This commit is contained in:
Taus
2022-08-22 10:55:01 +02:00
committed by GitHub

View File

@@ -616,6 +616,9 @@ private string non_byte_prefix() {
not result.charAt(_) in ["b", "B"]
}
/** A string constant. This is a placeholder class -- use `StrConst` instead. */
class Str = StrConst;
/** A string constant. */
class StrConst extends Str_, ImmutableLiteral {
/* syntax: "hello" */