What steps will reproduce the problem?
1. Two files contain the same namespace to work inside and outside the appengine
2. 1st line of file one: // +build appengine
3. 1st line of file two: // +build !appengine
What is the expected output? What do you see instead?
Only the "// +build appengine" file should be compiled. Instead compiler
complains about names "redeclared in this block".
What version of the product are you using? On what operating system?
VERSION file <<release: "1.7.6"
timestamp: 1360882848
api_versions: ['1']
supported_api_versions:
python:
api_versions: ['1']
python27:
api_versions: ['1']
go:
api_versions: ['go1']
>>
OSX 10.6.8
Please provide any additional information below.
Outside this SDK, the conditional compile works fine to select the correct file
to put into the non-appengine version of the system.
I originally upgraded to the new version of the SDK (via the main download page
by-the-way:
https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Go
) in order to get this feature (as described at
http://blog.golang.org/2013/01/the-app-engine-sdk-and-workspaces-gopath.html ),
so I am sad that I have not been able to get it to work.
Original issue reported on code.google.com by Elliott....@gmail.com on 23 Mar 2013 at 9:44
Original issue reported on code.google.com by
Elliott....@gmail.com
on 23 Mar 2013 at 9:44