Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Fixed Typo #352 #355

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Spec/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ To check that a function is well-typed:
#. Check that the function body is well-typed in this typing environment (treating it as a block of statement)
#. The set of behaviors of the function body must not include ``Break``, ``Continue`` or ``Fallthrough``.
#. The set of behaviors of the function body must not include ``Return T`` for a type ``T`` that is not the function return type.
#. If the return type of the funciton is not ``void``, then the set of behaviors of the function body must not include ``Normal``.
#. If the return type of the function is not ``void``, then the set of behaviors of the function body must not include ``Normal``.
#. If the function is a vertex or compute entry point, then the set of behaviors of the function body must not include ``Discard``.

In this section we define the terms above, and in particular, what it means for a statement or an expression to be well-typed.
Expand Down