Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDScript 2.0: Can't write multiline assert statements #69742

Closed
blaze-the-star opened this issue Dec 8, 2022 · 1 comment
Closed

GDScript 2.0: Can't write multiline assert statements #69742

blaze-the-star opened this issue Dec 8, 2022 · 1 comment

Comments

@blaze-the-star
Copy link

Godot version

4.0.beta7.official

System information

Ubuntu

Issue description

Attempting to write an assert statement on multiple lines causes the following error:
Expected expression to assert

Steps to reproduce

Example:

# This is fine
get_node(
    ""
)

# and this is fine
assert(true, "")

# but his is not
assert(
    true,
    ""
)

Minimal reproduction project

N/A

@Calinou Calinou changed the title Can't write multiline assert statements GDScript 2.0: Can't write multiline assert statements Dec 8, 2022
@Calinou
Copy link
Member

Calinou commented Dec 8, 2022

Duplicate of #66535.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants