mirror of
https://github.com/github/semantic.git
synced 2024-12-01 00:33:59 +03:00
Add pointer / reference var assignment
This commit is contained in:
parent
5e74311b71
commit
5222b02c49
1
test/fixtures/go/assignment-statements.A.go
vendored
1
test/fixtures/go/assignment-statements.A.go
vendored
@ -5,4 +5,5 @@ a = 1
|
||||
b, c += 2, 3
|
||||
d *= 3
|
||||
e += 1
|
||||
var pointer *Point3D = &Point3D{y: 1000}
|
||||
}
|
||||
|
1
test/fixtures/go/assignment-statements.B.go
vendored
1
test/fixtures/go/assignment-statements.B.go
vendored
@ -5,4 +5,5 @@ x = 1
|
||||
y, c += 2, 3
|
||||
z *= 3
|
||||
h += 1
|
||||
var pointer *Point2D = &Point2D{x: 1000}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user