Skip to content

[gardening] Fix recently introduced typos #1041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2016
Merged
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
8 changes: 4 additions & 4 deletions docs/TypeReference.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Symbolic Type References

*Symbolic type references* are compact represenations containing the
*Symbolic type references* are compact representations containing the
minimum amount of information about type relationships primarily for the
purposes of reflection.

## Encoding

Thees are encoded with a mostly textual mangling. Single characters
These are encoded with a mostly textual mangling. Single characters
denote the start of a mangling node but 32-bit integers can also be
directly embedded.

Expand All @@ -16,7 +16,7 @@ typeref-symbol ::= prefix typeref
typeref ::= 'b' relative-offset-to-name // Builtin type
typeref ::= 'n' relative-offset-to-metadata // Internal nominal type
typeref ::= 'N' relative-offset-to-name // External nominal type
typeref ::= 'g' relative-offset-to-metadata count typeref-list // Internal nound generic type
typeref ::= 'g' relative-offset-to-metadata count typeref-list // Internal bound generic type
typeref ::= 'G' relative-offset-to-name count typeref-list // External bound generic type
typeref ::= '?' index depth // Generic parameter
typeref ::= 't' num-elements typeref-list // Tuple type
Expand All @@ -25,7 +25,7 @@ typeref ::= 'p' has-class-constrained-flag? count protocol-list // Protocol com
typeref ::= 'm' typeref // Metatype
typeref ::= 'e' count protocol-list // Existential metatype

has-class-constrainged-flag ::= 'c'
has-class-constrained-flag ::= 'c'

func-representation ::= 't' // Thin
func-representation ::= 'T' // Thick
Expand Down