Skip to content

Commit

Permalink
Improved error messages for argument type mismatches.
Browse files Browse the repository at this point in the history
  • Loading branch information
msfterictraut committed Jun 18, 2020
1 parent 88305fc commit 0a96855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/localization/package.nls.en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"annotationStringEscape": "Type annotations cannot contain escape characters",
"annotationTripleQuote": "Type annotations cannot use triple quotes",
"argAssignment": "Argument of type \"{argType}\" cannot be assigned to parameter of type \"{paramType}\"",
"argAssignmentFunction": "Argument of type \"{argType}\" cannot be assigned to parameter in function \"{functionName}\" of type \"{paramType}\"",
"argAssignmentFunction": "Argument of type \"{argType}\" cannot be assigned to parameter of type \"{paramType}\" in function \"{functionName}\"",
"argAssignmentParam": "Argument of type \"{argType}\" cannot be assigned to parameter \"{paramName}\" of type \"{paramType}\"",
"argAssignmentParamFunction": "Argument of type \"{argType}\" cannot be assigned to parameter \"{paramName}\" in function \"{functionName}\" of type \"{paramType}\"",
"argAssignmentParamFunction": "Argument of type \"{argType}\" cannot be assigned to parameter \"{paramName}\" of type \"{paramType}\" in function \"{functionName}\"",
"argMissingForParam": "Argument missing for parameter {name}",
"argMissingForParams": "Arguments missing for parameters {names}",
"argPositional": "Expected positional argument",
Expand Down

0 comments on commit 0a96855

Please sign in to comment.