Sign in
pigweed
/
third_party
/
github
/
bazelbuild
/
buildtools
/
refs/heads/upstream/revert-1355-laramiel-patch-1
/
.
/
build
/
testdata
/
043.golden
blob: 3c3926d02337dc5dc25d944b6256633e6ec5a650 [
file
] [
log
] [
blame
] [
edit
]
bar
=
"bar"
# This gets an empty expr_opt in the parser, causing a nil to appear.
b
=
bar
[:-
2
]
# Test that slices and partial slices are parsed properly
f
=
foo
[-
1
:-
2
:-
3
]
f
=
foo
[
1
::]
f
=
foo
[:
1
:]
f
=
foo
[::
1
]
f
=
foo
[::]
f
=
foo
[:]