Thanks Simon for your help
When I try to extract documentation with
pressy.askDocComment(symbol, symbol.enclClass, currentFile, res)
res.get gives Either[(String, String, Position), Throwable] = Left(("", "", NoPosition))
Though on calling pressy.askLinkPos(sybol, r)
r.get gives the correct location of symbol in the currentFile.
In above code currentFile is the batchSourceFile to which symbol belongs. AFAIT file is loaded and compiled properly cause all other functions regarding position of symbol in file are working fine. I am unable to figure out why askDocComment gives blank doc.
I will be highly grateful for any pointers or possible causes of this error.
Regards
Abhishek Kumar