This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This issue was reported manually by ralphbenjamin. It already has 1 duplicates Build: NetBeans IDE Dev (Build nbms-and-javadoc-184-on-20150804) VM: OpenJDK 64-Bit Server VM, 25.60-b23, OpenJDK Runtime Environment, 1.8.0_60-b27 OS: Linux User Comments: Jenselme: - Open a file that contains yield from - Exception must appear at once. Example: import asyncio yield from asyncio.wait() Stacktrace: java.lang.RuntimeException: Unexpected node: <mismatched token: [@221,792:802=''init_game'',<90>,46:28], resync='init_game'> at org.python.antlr.PythonTree.accept(PythonTree.java:268) at org.python.antlr.ast.ImportFrom.traverse(ImportFrom.java:184) at org.python.antlr.Visitor.traverse(Visitor.java:12) at org.python.antlr.ast.VisitorBase.visitImportFrom(VisitorBase.java:150) at org.python.antlr.ast.ImportFrom.accept(ImportFrom.java:177) at org.python.antlr.ast.Module.traverse(Module.java:129)
Created attachment 156129 [details] stacktrace
Corrections: the above code spinet doesn't cause the problem. This one does: Arena of Titans — API
Wrong copy/paste, my apologies: yield from toto('')
changeset: 18338:ce6a389be3f0 bookmark: main tag: tip user: Julien Enselme <jenselme@netbeans.org> date: Mon Oct 12 22:30:53 2015 +0200 summary: #255247 Fix RuntimeException: Unexpected node: <mismatched token. …>