design/generics-implementation-dictionaries-go1.18: add missing period Change-Id: Iceb2d96c973c09617ad6edaa4b25e98bb4d65231 GitHub-Last-Rev: dba13441f8ed9418985f1baf3f87f06e46fc0215 GitHub-Pull-Request: golang/proposal#41 Reviewed-on: https://go-review.googlesource.com/c/proposal/+/388734 Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/design/generics-implementation-dictionaries-go1.18.md b/design/generics-implementation-dictionaries-go1.18.md index eca5b50..6790332 100644 --- a/design/generics-implementation-dictionaries-go1.18.md +++ b/design/generics-implementation-dictionaries-go1.18.md
@@ -3,7 +3,7 @@ This document describes the implementation of generics via dictionaries and gcshape stenciling in Go 1.18. It provides more concrete and up-to-date -information than described in the [Gcshape design document](https://github.com/golang/proposal/blob/master/design/generics-implementation-gcshape.md) +information than described in the [Gcshape design document](https://github.com/golang/proposal/blob/master/design/generics-implementation-gcshape.md). The compiler implementation of generics (after typechecking) focuses mainly on creating instantiations of generic functions and methods that will execute with arguments that have concrete types. In order to avoid creating a different function instantiation for each invocation of a generic function/method with distinct type arguments (which would be pure stenciling), we pass a **dictionary** along with every call to a generic function/method. The [dictionary](https://go.googlesource.com/proposal/+/refs/heads/master/design/generics-implementation-dictionaries.md) provides relevant information about the type arguments that allows a single function instantiation to run correctly for many distinct type arguments.