exercism / pharo-smalltalk

Exercism exercises in Pharo.
https://exercism.org/tracks/pharo-smalltalk
MIT License
34 stars 28 forks source link

Exercism in Pharo 10 can not fetch exercises #521

Closed kderichs closed 2 years ago

kderichs commented 2 years ago

When I try to load exercise the debugger comes up with: "Instance of Path class did not understand #delimeter"

In Class ExercismHttpClient selector solutionPathFor: aString it reads: (aString first = Path delimeter it should read: (aString first = Path delimiter

After that everything works.

Pharo 10.0.0 Build information: Pharo-10.0.0+build.409.sha.9c2d1d3a0fbe2937b568984e72a81eb234b0866f (64 Bit)

Ducasse commented 2 years ago

Can you paste the exact code that we can execute to produce the error? Tx

Ducasse commented 2 years ago

In my P10 class

Path class >> delimiter
    "Internal path delimiter"

    ^$/
Ducasse commented 2 years ago

I do not understand why we would lose this method.

Bajger commented 2 years ago

Exercism method sends deprecated message (delimeter), yes it shoud be fixed to delimiter.

image