Huangyan9188 / gogoprotobuf

Automatically exported from code.google.com/p/gogoprotobuf
Other
0 stars 0 forks source link

import_prefix generates wrong import #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use 'import_prefix=protobuf/common'

What is the expected output? What do you see instead?
Expected:
import proto "code.google.com/p/gogoprotobuf/proto"
import "protobuf/common/a.pb"

What I see:
import proto "protobuf/common/code.google.com/p/gogoprotobuf/proto"
import "protobuf/common"

What version of the product are you using? On what operating system?
OSX

Please provide any additional information below.

Original issue reported on code.google.com by Dao007fo...@gmail.com on 15 Aug 2014 at 5:33

GoogleCodeExporter commented 9 years ago
Tried on goprotobuf and it also messed up the "import proto", but the other 
imports are fine.

Original comment by Dao007fo...@gmail.com on 15 Aug 2014 at 5:34

GoogleCodeExporter commented 9 years ago
Have you reported this issue to goprotobuf?

Original comment by awalterschulze on 15 Aug 2014 at 12:59

GoogleCodeExporter commented 9 years ago
Yes, I have reported this issue to goprotobuf. Yet for goprotobuf, the other 
imports are fine, while gogoprotobuf messes up. I haven't taken a look if there 
is a fix recently that haven't been merged.

Original comment by Dao007fo...@gmail.com on 15 Aug 2014 at 4:18

GoogleCodeExporter commented 9 years ago
I will be waiting for goprotobuf's response, sorry.
Maybe you should give them more detail in their issue.

Original comment by awalterschulze on 28 Aug 2014 at 7:55

GoogleCodeExporter commented 9 years ago
Reopen this when you have gotten feedback from goprotobuf.
Thank you

Original comment by awalterschulze on 25 Nov 2014 at 6:13