google / codeworld

Educational computer programming environment using Haskell
http://code.world
Apache License 2.0
1.24k stars 193 forks source link

User-reported unhelpful error message #1667

Open codeworld-feedback opened 5 days ago

codeworld-feedback commented 5 days ago

Program: https://code.world/#PBynhZraqjAoRIld46uWffg

Message:

program.hs:25:18-28: error: 
    • Couldn't match expected type Picture
                  with actual type Number -> Picture
    • Probable cause: solidCircle is missing arguments
      In the expression: solidCircle
      In the argument(s) of scaled, namely (solidCircle, 2, 1 / 2)
      In the expression: scaled (solidCircle, 2, 1 / 2)