You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the translation from Tested to Haskell, the judge adds the types to the arguments. The expression is translated to geefNde 2 :: Int [1 :: Int, 2 :: Int, 3 :: Int, 4 :: Int]. Since this isn't valid Haskell syntax, Dodona shows an error:
Execution0.hs:57:54: error:
Illegal type: ‘[1 :: Int, 2 :: Int, 3 :: Int, 4 :: Int]’
Perhaps you intended to use DataKinds
|
56 | r <- return (Submission.geefNde 2 :: Int [1 :: Int, 2 :: Int, 3 :: Int, 4 :: Int])
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Execution0.hs:57:55: error:
Illegal type: ‘1’ Perhaps you intended to use DataKinds
|
56 | r <- return (Submission.geefNde 2 :: Int [1 :: Int, 2 :: Int, 3 :: Int, 4 :: Int])
| ^
Execution0.hs:57:65: error:
Illegal type: ‘2’ Perhaps you intended to use DataKinds
|
56 | r <- return (Submission.geefNde 2 :: Int [1 :: Int, 2 :: Int, 3 :: Int, 4 :: Int])
| ^
Execution0.hs:57:75: error:
Illegal type: ‘3’ Perhaps you intended to use DataKinds
|
56 | r <- return (Submission.geefNde 2 :: Int [1 :: Int, 2 :: Int, 3 :: Int, 4 :: Int])
| ^
Execution0.hs:57:85: error:
Illegal type: ‘4’ Perhaps you intended to use DataKinds
|
56 | r <- return (Submission.geefNde 2 :: Int [1 :: Int, 2 :: Int, 3 :: Int, 4 :: Int])
| ^
[1 of 6] Compiling EvaluationUtils ( EvaluationUtils.hs, EvaluationUtils.o )
[2 of 6] Compiling Submission ( <code>, Submission.o )
[3 of 6] Compiling Values ( Values.hs, Values.o )
[4 of 6] Compiling Execution0 ( Execution0.hs, Execution0.o )
Is it possible to remove these types from the translation or add an option to disable it?
The text was updated successfully, but these errors were encountered:
I have the following python syntax in my tested YAML file:
In the translation from Tested to Haskell, the judge adds the types to the arguments. The expression is translated to
geefNde 2 :: Int [1 :: Int, 2 :: Int, 3 :: Int, 4 :: Int]
. Since this isn't valid Haskell syntax, Dodona shows an error:Is it possible to remove these types from the translation or add an option to disable it?
The text was updated successfully, but these errors were encountered: