diff options
| author | Michael Matloob <matloob@golang.org> | 2021-04-14 22:05:42 -0400 |
|---|---|---|
| committer | Michael Matloob <matloob@golang.org> | 2021-04-15 02:29:42 +0000 |
| commit | c52f028076c30c3e767616cbcf094604de6248b4 (patch) | |
| tree | d1e27fb1f3a51bb7e8e55c9f5e81017fdb1d4a03 | |
| parent | 326c632bd9d3be2b313fe1fc1f1635364d1e59bd (diff) | |
| download | go-x-proposal-c52f028076c30c3e767616cbcf094604de6248b4.tar.xz | |
design/draft-workspace.md: finish incomplete sentence
Change-Id: I5d69fae0514fba4a85636fb0dd36d050dc8dddf6
Reviewed-on: https://go-review.googlesource.com/c/proposal/+/310290
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
| -rw-r--r-- | design/draft-workspace.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/design/draft-workspace.md b/design/draft-workspace.md index 1e15135..43a1463 100644 --- a/design/draft-workspace.md +++ b/design/draft-workspace.md @@ -202,16 +202,16 @@ replace ( ``` The `replace` directives in the `go.work` are applied in addition to and with -higher precedence than `replaces` in the workspac modules. A `replace` directive -in the `go.work` file will overrides replace directives in workspace modules -applying to the same module or module version. If two or more workspace modules -replace the same module or module version with different module versions or -directories, and there is not an overriding `replace` in the `go.work` file, the -`go` command will report an error. The `go` command will report errors for +higher precedence than `replaces` in the workspace modules. A `replace` +directive in the `go.work` file will overrides replace directives in workspace +modules applying to the same module or module version. If two or more workspace +modules replace the same module or module version with different module versions +or directories, and there is not an overriding `replace` in the `go.work` file, +the `go` command will report an error. The `go` command will report errors for replacements of workspace modules that don't refer to the same directory as the workspace module. If any of those exist in a workspace module replacing another workspace module, the user will have to explicitly replace that workspace module -with its +with its path on disk. ### Semantics of workspace mode |
