]> Cypherpunks repositories - gostls13.git/commit
go/token: add test for concurrent use of FileSet.Pos
authorDave Cheney <dave@cheney.net>
Wed, 19 Dec 2012 00:38:00 +0000 (16:38 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 19 Dec 2012 00:38:00 +0000 (16:38 -0800)
commit4e406a2372b65ce58b2c4d26ada1c8b27c791af8
treed181b8108d4268969f65887dd6ad9c8d781b84b8
parent4ea8538c7f341d6cac355a08f517ef11460180a5
go/token: add test for concurrent use of FileSet.Pos

Update #4354.

Add a test to expose the race in the FileSet position cache.

R=dvyukov, gri
CC=fullung, golang-dev
https://golang.org/cl/6940078
src/pkg/go/token/position_test.go