mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 16:06:39 +03:00
Fixed minor formatting issue in error message.
This commit is contained in:
parent
a97b20226c
commit
6ad6ce2b66
@ -802,7 +802,7 @@ export class Checker extends ParseTreeWalker {
|
||||
} else if (primaryType && !isProperty(primaryType)) {
|
||||
if (primaryDecl.type === DeclarationType.Function || primaryDecl.type === DeclarationType.Class) {
|
||||
const diag = this._evaluator.addError(
|
||||
`Declared ${ primaryDeclType } already exists for '${ name }'`,
|
||||
`Declared ${ primaryDeclType }already exists for '${ name }'`,
|
||||
otherDecl.node
|
||||
);
|
||||
addPrimaryDeclInfo(diag);
|
||||
|
Loading…
Reference in New Issue
Block a user