## Assignment 2 - Query

Neuling
Beiträge: 7
Registriert: 7. Nov 2017 15:48

### Assignment 2 - Query

I see the following error after importing the project into the IntelliJ IDE.

Eg: In the ConvertTest.scala
Error: Cannot resolve reference convert with such signature. Similar errors for Add and Sub.

Is this the expected behaviour?

mirko-koehler
Mausschubser
Beiträge: 82
Registriert: 16. Okt 2017 12:28

### Re: Assignment 2 - Query

IntelliJ has some problems with implicit conversions sometimes. You can try to add

Code: Alles auswählen

import scala.language.implicitConversions
to the file. Maybe that will fix the error.

Neuling
Beiträge: 7
Registriert: 7. Nov 2017 15:48

### Re: Assignment 2 - Query

Thank you! That fixed the errors in all the test classes expect for MultipleArgumentsTest. In this there are also type mismatch errors.

spilot
Neuling
Beiträge: 7
Registriert: 28. Nov 2015 18:28

### Re: Assignment 2 - Query

The type mismatch errors in MultipleArgumentsTest are caused by the fact that it is part of the given task to change types and method signatures. The test cases will fail (i.e. not even compile) when the signatures are left unchanged.