Skip to content

Commit 157ba19

Browse files
lrhneernstg
andauthored
Update resources/type-system/inference.md
Co-authored-by: Erik Ernst <eernst@google.com>
1 parent 67b5030 commit 157ba19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/type-system/inference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ schema.
331331
for each `return e;` statement in the block, let `S` be the inferred type
332332
of `e`, using the local type inference algorithm described below with typing
333333
context `K`, and update `T` to be `UP(S, T)`.
334-
- If the enclosing function is marekd `async`, for each `return e;` statement
334+
- If the enclosing function is marked `async`, for each `return e;` statement
335335
in the block, let `S` be the inferred type of `e`, using the local type
336336
inference algorithm described below with typing context `FutureOr<K>`,
337337
and update `T` to be `UP(flatten(S), T)`.

0 commit comments

Comments
 (0)