Преглед изворни кода

Add `partial` to the precedence diagram. (#5749)

Following the decision in #5010.
Richard Smith пре 10 месеци
родитељ
комит
11d5ee5f3e
1 измењених фајлова са 4 додато и 3 уклоњено
  1. 4 3
      docs/design/expressions/README.md

+ 4 - 3
docs/design/expressions/README.md

@@ -72,7 +72,8 @@ graph BT
                x[y]"}
     click suffixOps "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/README.md#suffix-operators"
 
-    constType["const T"]
+    qualifiedType["const T
+                   partial T"]
     click pointer-type "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/type_operators.md"
 
     pointerType{"T*"}
@@ -159,8 +160,8 @@ graph BT
 
     suffixOps --> top
 
-    constType --> suffixOps
-    pointerType --> constType
+    qualifiedType --> suffixOps
+    pointerType --> qualifiedType
 
     pointer --> suffixOps
     negation & complement & incDec --> pointer