Skip to content

Commit

Permalink
better error message for tuple assignment (aka the JCB2 commit)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredokun committed Dec 2, 2020
1 parent 8bb149c commit 2ab7680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrpython/typechecking/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def set_translator_locale(locale_key):
, "The signature of function '{}' contains some characters at the end that I do not understand: {}"
: { 'fr' : "La signature de la fonction '{}' contient des caractères que je ne comprends pas à la fin: {}" }
, "Assignment problem" : { 'fr' : "Problème d'affectation" }
, "This assignment to variable '{}' is forbidden in Python101." : { 'fr' : "Cette affectation de la variable '{}' n'est pas permise en Python101 (uniquement disponible en mode expert)." }
, "This assignment to variable '{}' is forbidden in Python101." : { 'fr' : "Cette affectation de la variable '{}' n'est pas permise en mode étudiant, il faut déclarer une nouvelle variable (sinon passez en mode expert)." }
, "Expecting type '{}' but found '{}': there is a risk of imprecision (but it's maybe not a bug)" : { 'fr' : "J'attends le type '{}' mais j'ai trouvé '{}': il y a un risque d'imprécision (mais ce n'est peut-être pas une erreur)" }
, "Imprecise typing" : { 'fr' : "Typage imprécis" }
, "Expression in instruction position" : { 'fr' : "Expression en position instruction" }
Expand Down

0 comments on commit 2ab7680

Please sign in to comment.