Closed matryer closed 9 years ago
Any thoughts on how to go about this? I'm not as familiar with the ast
stuff as you are. Would this be a raw change we do to a buffer directly?
I wonder if at the point of detecting the type, we can look back to see if there’s a comment associated with it!?
Or else, keep the ‘last comment’ reference.
I have no idea too :D
On Dec 1, 2014, at 12:36 PM, Tyler notifications@github.com wrote:
Any thoughts on how to go about this? I'm not as familiar with the ast stuff as you are. Would this be a raw change we do to a buffer directly?
— Reply to this email directly or view it on GitHub https://github.com/cheekybits/genny/issues/1#issuecomment-65130233.
Can you link me to where we "detect the type"?
On Mon, Dec 1, 2014 at 1:38 PM, Mat Ryer notifications@github.com wrote:
I wonder if at the point of detecting the type, we can look back to see if there’s a comment associated with it!? Or else, keep the ‘last comment’ reference. I have no idea too :D
On Dec 1, 2014, at 12:36 PM, Tyler notifications@github.com wrote:
Any thoughts on how to go about this? I'm not as familiar with the ast stuff as you are. Would this be a raw change we do to a buffer directly?
— Reply to this email directly or view it on GitHub https://github.com/cheekybits/genny/issues/1#issuecomment-65130233.
Reply to this email directly or view it on GitHub: https://github.com/cheekybits/genny/issues/1#issuecomment-65130624
Wow I didn't realize this was done. Great work.
If users write a comment above
generic.Type
(as pergolint
), we should remove it when generating specific code to avoid orphan comments.