mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 10:30:38 +00:00
Initial support for constraints formed by combining interfaces (#1307)
Add scaffolding for constraints in general, and support specifically constraints formed by applying a `&` operator. No support for constraints formed with `where` nor for named constraints at this point.
This commit is contained in:
1 parent
058b5e77c0
commit
1bb370420b
19 files changed
+822
-201
No files matched your search
@@ -55,6 +55,7 @@ auto ToString(Operator op) -> std::string_view {
|
||||
case Operator::Add:
|
||||
return "+";
|
||||
case Operator::AddressOf:
|
||||
case Operator::Combine:
|
||||
return "&";
|
||||
case Operator::Neg:
|
||||
case Operator::Sub:
|
||||
|
||||
Reference in new issue
Block a user