Skip to content

Colon in sql comments results in error #12

@mihaigiurgeanu

Description

@mihaigiurgeanu

Parsing SQL that contains comments with colons results in error. Herer it is a sample of SQL to reproduce the error:

[yesh1|
  -- name:getUser :: (String)
  -- :userID :: Int
  -- :dd     :: String
  SELECT username /*comment: see xxxx */
  FROM users
  INNER JOIN ( SELECT * FROM XXCART WHERE DD = :dd)
  WHERE id = :userID
|]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions