You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Silverchain rejects this with the following error:
Could not generate API: line 9:0 no viable alternative at input '$ADJUSTMENTS=adjusting<F>(List<F>list,UnaryOperator<F>adjuster);// something else// more code'
The location reported is misleading: it points to the end of the file, but should have been something like 4:25 (the <F>) or at least 4:16 (the adjusting<F>).
Especially for large AG files, it takes a while to figure out that it really rejects something at the start of the expression in the error message.
The text was updated successfully, but these errors were encountered:
Example (invalid) AG:
Silverchain rejects this with the following error:
Could not generate API: line 9:0 no viable alternative at input '$ADJUSTMENTS=adjusting<F>(List<F>list,UnaryOperator<F>adjuster);// something else// more code'
The location reported is misleading: it points to the end of the file, but should have been something like
4:25
(the<F>
) or at least4:16
(theadjusting<F>
).Especially for large AG files, it takes a while to figure out that it really rejects something at the start of the expression in the error message.
The text was updated successfully, but these errors were encountered: