• Robert Griesemer's avatar
    cmd/compile: permit Unicode spaces in (expanded) package paths · 6c2458e7
    Robert Griesemer authored
    This doesn't change the existing restriction with disallows
    spaces in import paths (as found in an import declaration).
    It simply permits packages to be under a directory name that
    may contain spaces.
    
    Verified manually that it works. This could use a test, but the
    change is trivial. We also can't use the existing test framework
    (under test/) because the way those tests are run with test/run.go,
    the mechanims for compiling a directory, even if it contains blanks
    it its name, does't produce compiler paths with blanks
    (the compilation is local).
    
    Fixes #20306.
    
    Change-Id: I6cbffb86c3394347897c3c94b110da0aadc5bfdf
    Reviewed-on: https://go-review.googlesource.com/46001Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    Reviewed-by: 's avatarRob Pike <r@golang.org>
    6c2458e7
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...