- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Known issue? SDT flags error on valid Scala code "Cant find implicit value for parameter"
Thu, 2010-03-18, 00:46
Something I observe quite often is that the SDT wrongly flags error on valid Scala code, where the default values for implicit parameters (ie from companion objects) are passed.
I think its just the presentation compiler thats doing it. Heres an observed scenario.
1. Project compiles. No error markers.
2. Open a file from project into Editor for first time
3. Error marker about missing implicit param value in that file.
4. Clean build.
5. Marker goes away.
Is this a known issue?
-Ben
I think its just the presentation compiler thats doing it. Heres an observed scenario.
1. Project compiles. No error markers.
2. Open a file from project into Editor for first time
3. Error marker about missing implicit param value in that file.
4. Clean build.
5. Marker goes away.
Is this a known issue?
-Ben
On Wed, Mar 17, 2010 at 11:46 PM, Ben Hutchison wrote:
> Something I observe quite often is that the SDT wrongly flags error on valid
> Scala code, where the default values for implicit parameters (ie from
> companion objects) are passed.
>
> I think its just the presentation compiler thats doing it. Heres an observed
> scenario.
>
> 1. Project compiles. No error markers.
> 2. Open a file from project into Editor for first time
> 3. Error marker about missing implicit param value in that file.
> 4. Clean build.
> 5. Marker goes away.
>
> Is this a known issue?
I've not seen that. If you can extract out a minimal example could you
attach it to a ticket in Trac. Thanks.
Cheers,
Miles