-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
I happened to find out that the refactor doesn't work for my sql wrapper module, so I did some debugging, and I find out that if the file contains the following codes, the parser will results in error like error syntax before query:
case mysql:query(xxx,xxx,xxx) of
.....
After some more debug, I find out that wrangler has a function called wrangler_syntax:query_expr, and i know that there is some syntax called query syntax for Mnesia, so I believe you are making some assertion that a query must be the begin of query syntax ....
This should be a bug because the mysql mode is working fine so the syntax should be ok for erlang compiler.
Here is the mysql driver. You can see it's using query as a main API.
I am trying to create a patch, but the syntax file is a little complicate ...
Metadata
Metadata
Assignees
Labels
No labels