Closed nmingazov closed 11 months ago
Do you have another import
call that could be getting flagged?
I have only one with except
. Overall, my whole solution looks like this:
# Add missing aliases and imports here.
alias NeedForSpeed.Race
alias NeedForSpeed.RemoteControlCar, as: Car
import IO
import IO.ANSI, except: [color: 1]
# Do not edit the code below.
https://exercism.org/tracks/elixir/exercises/need-for-speed/solutions/nmingazov
You are also importing the entire IO
module right above IO.ANSI
Excellent catch, changing to import IO, only: [puts: 1]
solved the issue :) Thanks!
So, part 4 of the exercise asks for following:
After adding
import IO.ANSI, except: [color: 1]
and submitting, I receive the following comment from the analyzer:Isn't that contradictory to the original exercise here? I'd be glad to be wrong :)