Robert Griesemer
|
5402b4376c
spec: fix incorrect type in a shift example
|
3 years ago |
Robert Griesemer
|
9a58aa267e
spec: fix prose about terminating statements
|
3 years ago |
seifchen
|
592ee433f5
spec: adjust example for consistency
|
3 years ago |
Cuong Manh Le
|
aeec6dbfe0
spec: add example for method value in case of embedded method
|
3 years ago |
Cuong Manh Le
|
507cc341ec
doc: add example for conversion from slice expressions to array ptr
|
3 years ago |
Cuong Manh Le
|
ecaa6816bf
doc: clarify non-nil zero length slice to array pointer conversion
|
3 years ago |
Ian Lance Taylor
|
849b791129
spec: use consistent capitalization for rune literal hex constants
|
3 years ago |
Piers
|
c8f4e6152d
spec: correct example comment in Conversions from slice to array
|
3 years ago |
Ian Lance Taylor
|
743f03eeb0
spec, unsafe: clarify unsafe.Slice docs
|
3 years ago |
Matthew Dempsky
|
1519271a93
spec: change unsafe.Slice((*T)(nil), 0) to return []T(nil)
|
3 years ago |
Robert Griesemer
|
5bd09e5efc
spec: unsafe.Add/Slice are not permitted in statement context
|
3 years ago |
DQNEO
|
e1fa26026d
spec: improve wording consistency by eliminating "specifier"
|
3 years ago |
DQNEO
|
f490134126
spec: improve wording by choosing an official term "keyword"
|
3 years ago |
Robert Griesemer
|
764f53eb6c
spec: clarify conditions for switch expression type
|
3 years ago |
lixianyang
|
c249491572
doc: change <a/> to </a> in spec
|
3 years ago |
Matthew Dempsky
|
1da05eb0ce
spec: add unsafe.Add and unsafe.Slice
|
3 years ago |
Josh Bleecher Snyder
|
1c268431f4
spec: allow conversion from slice to array ptr
|
4 years ago |
Robert Griesemer
|
63b0a0a5b8
spec: fix rendering of >=
|
3 years ago |
nobishino
|
13a0f7b502
spec: clarify that signed integers>=0 are permitted as shift counts
|
3 years ago |
DQNEO
|
084b07d6f6
spec: improve sentence structure for passing a slice
|
3 years ago |
Robert Griesemer
|
078f08f0ee
spec: every type has a method set (minor clarification)
|
3 years ago |
DQNEO
|
26ceae85a8
spec: More precise wording in section on function calls.
|
3 years ago |
task4233
|
fca94ab3ab
spec: improve the example in Type assertions section
|
3 years ago |
Robert Griesemer
|
2b9b2720b8
spec: split shift examples into groups for 32- and 64-bit ints
|
4 years ago |
Robert Griesemer
|
23cc16cdd2
spec: better variable name for operator example
|
4 years ago |
yah01
|
ee55dd6b64
spec: add missing space in EBNF
|
4 years ago |
Rob Pike
|
cae9a9fd65
doc: fix up some HTML issues in go_spec.html
|
4 years ago |
Robert Griesemer
|
9ead772a92
spec: uniformly format empty interfaces as "interface{}"
|
4 years ago |
Alberto Donizetti
|
7d30af8e17
spec: reword claim about the grammar being regular
|
4 years ago |
Robert Griesemer
|
6fcc2d85be
spec: clarify that shift count must be non-negative
|
5 years ago |