Skip to content

In qute, allow spaces between method parameters and only validate the return type of the method invocation when iterating over a method invocation #966

@gbourant

Description

@gbourant

The following image is the file angelozerr.html. As you can see, based on the formatting it highlights that the code has some errors.

image

To remove the error highlight i did the following, i changed

ifElementHasError(errorFields, errorKeys)} with
ifElementHasError(errorFields,errorKeys) }, I removed the space after the comma and added a space before the last curly bracket.

getErrorMessages(errorFields,errorKeys)} with
getErrorMessages(errorFields, errorKeys)} (added a space after the command and added a space before the last curly bracket)

After you fix those two errors you get a new one as shown in the image. So i changed {errorMessage} to { errorMessage} (added a space after the first curly bracket)

image

Reproducer: https://github.com/gbourant/qute-bugs

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingqute

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions