Update index-type-operator.md

Nitpick on the title of the RFC
This commit is contained in:
Junseo Yoo 2024-05-30 15:58:44 -07:00 committed by GitHub
parent b764c59718
commit 0f30ae5e27
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
# `index` type operators # `index` type operator
## Summary ## Summary
@ -74,4 +74,4 @@ A drawback to this feature is the possible increase in cost of maintenance. In t
## Alternatives ## Alternatives
An alternative to the proposed implementation is utilizing inexact table types and exact table types (to be implemented) to handle the edge in a simpler manner. If we know that the indexee is an inexact table type, the index type operator can return the `unknown` type. If we know that the indexee is an exact table type, we can return an error. An alternative to the proposed implementation is utilizing inexact table types and exact table types (to be implemented) to handle the edge in a simpler manner. If we know that the indexee is an inexact table type, the index type operator can return the `unknown` type. If we know that the indexee is an exact table type, we can return an error.