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

[Bug]: Getting missing single backtick token warning for the doc comment containing backticks #43357

Open
TharmiganK opened this issue Sep 4, 2024 · 0 comments
Labels
Area/Parser Everything related to the ballerina lexer and the parser #Compiler Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug userCategory/Compilation

Comments

@TharmiganK
Copy link
Contributor

Description

When there is a doc comment containing backticks, the following warning is provided by the compiler:

missing single backtick token

This impacts the generated connectors from OpenAPI specification to have a lot of warnings

Steps to Reproduce

Use the following Ballerina code to reproduce this issue:

public type FolderIdCopyBody record {
    # Names containing non-printable ASCII characters, forward and backward slashes (`/`, `\`) are prohibited.
    string name?;
    string parent;
};

Affected Version(s)

Ballerina SwanLake Update10(2201.10.x)

OS, DB, other environment details and versions

No response

Related area

-> Compilation

Related issue(s) (optional)

Identified in this task - ballerina-platform/ballerina-library#6906

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@ballerina-bot ballerina-bot added needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels Sep 4, 2024
@SasinduDilshara SasinduDilshara added Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Area/Parser Everything related to the ballerina lexer and the parser #Compiler and removed needTriage The issue has to be inspected and labeled manually labels Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Parser Everything related to the ballerina lexer and the parser #Compiler Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug userCategory/Compilation
Projects
None yet
Development

No branches or pull requests

3 participants