Support for as operator and user-defined As impls. (#1476)

This commit is contained in:
Richard Smith authored and GitHub committed 2022-07-21 13:16:18 -07:00
1 parent a96ae98155
commit 93e19649aa
20 files changed
+208 -12

No files matched your search

+2
View File
@@ -61,6 +61,8 @@ auto ToString(Operator op) -> std::string_view {
switch (op) {
case Operator::Add:
return "+";
case Operator::As:
return "as";
case Operator::AddressOf:
case Operator::Combine:
return "&";