cheeseng/scala-ide — comment on commit 86ae8bb98f8f3c6d0c6b26ce868de58e0b1978e7
File: org.scala-ide.sdt.core/src/scala/tools/eclipse/launching/ScalaTestLaunchShortcut.scala line 118
By cheeseng:

Included Bill in the loop.

On Mon, Feb 6, 2012 at 11:19 AM, Chee Seng Chua wrote:

> Hi Iulian,
>
> I couldn't get sym.info.paramTypes to compile (see line 123 of
> https://github.com/cheeseng/scala-ide/blob/master/org.scala-ide.sdt.core/src/scala/tools/eclipse/launching/ScalaTestLaunchShortcut.scala),
> I don't like the line 124 too:-
>
> defDef.vparamss.flatten.toList.map(valDef => valDef.tpt.symbol.fullName)
>
> so if I can get sym.info.paramTypes to work it would be much cleaner.
>
> Thanks!
>
> Best Regards,
> Chee Seng
>
>
> On Mon, Feb 6, 2012 at 3:51 AM, Iulian Dragos <
> reply@reply.github.com
> > wrote:
>
>> All type information should be retrieved using the `Symbol`. They hold
>> the correct information, while the tree contains what the user wrote
>> (meaning there is no type inference results, etc). So I would do:
>>
>> val sym = defDef.symbol
>> sym.name
>> sym.info.paramTypes
>>
>> ---
>> Reply to this email directly or view it on GitHub:
>>
>> https://github.com/cheeseng/scala-ide/commit/86ae8bb98f8f3c6d0c6b26ce868de58e0b1978e7#commitcomment-934650
>>
>
>