[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible bug in AstBuilder Antlr4

It cannot. However the GString templates look like scripts, which is why I added an import in the first place. But then the builder fails with a ClassCastException. I would have expected it to fail with a better error message in this case, like "You're not allowed to use an import in a method body".

Le mer. 23 mai 2018 à 08:34, Daniel.Sun <sunlan@xxxxxxxxxx> a écrit :
Hi Cédric,

     `import` statement can appear in a block?


Sent from: