-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type analyzer exception when parsing isolate_sample.dart #2016
Comments
[from floitsch] I only get one warning, but I am looking directly at a syntax error. !ENTRY com.google.dart.tools.core 4 0 2012-02-24 19:58:07.877 |
http://code.google.com/p/dart/issues/detail?id=1936 Set owner to @scheglov. |
New in this update: ``` git log --oneline --no-decorate 9f00679ef47bc79cadc18e143720ade6c06c0100..980fc947db32bca6ae7d07fbb4ad0fcdba0050ec 980fc947 Add support for global activating package from a custom pub URL (#2041) 605cafb1 "features" is not a completely implemented or documented – hide flags (#2045) 73b66cd3 Merge pull request #2035 from sigurdm/logout_command 2b03587d dartfmt again ea805dfb Fix help-expectation 6f759c1f gitfmt 90079421 deps: move package_resolver to a dev dependency 297f017a enable and fix a number of lints f70ee39b Update to latest dependencies, require dart 2.1, fix lints 3446fb0d Add logout command 283471e7 Merge pull request #2016 from RedBrogdon/changelog 4c00f413 Update/add www.dartlang.org URLs (#2021) f7b147f9 Correcting nerfed changelog test. b9308223 Edited warning messages, addressed review issues. 9e9c8ed7 Fixed race conditions in test case. (#2020) ec972168 Removed references to gitsubmodules (#2019) ac8ad792 Copyright dates. f9d35d34 Formatted via dartfmt. a3351369 Adding ChangelogValidator to the list of validators. a826b121 Adds changelog validator and its tests. 2233e3d5 Update the required pkg:http (#1996) 75d8453a Update all of the obvious dependencies d07dafa5 Fix unnecessary `this` lints 43a91d12 Update to latest build_runner (#1966) b3a2cfb7 Add check for a scheme on PUB_HOSTED_URL (#1972) 6626bda3 Update tests for SDK constraint validation (#1968) ``` Change-Id: Ib7c5ec86e5a6d67094b8e70a32ff41efe571c074 Reviewed-on: https://dart-review.googlesource.com/c/94380 Commit-Queue: Sigurd Meldgaard <sigurdm@google.com> Reviewed-by: Jonas Jensen <jonasfj@google.com>
…est_process, tools, webdev Revisions updated by `dart tools/rev_sdk_deps.dart`. convert (https://github.com/dart-lang/convert/compare/b652c00..9a387f0): 9a387f0 2023-05-16 Devon Carew blast_repo fixes (#83) dartdoc (https://github.com/dart-lang/dartdoc/compare/2952f6b..702f3ff): 702f3ff7 2023-05-16 Devon Carew Update dependabot.yaml (#3415) http (https://github.com/dart-lang/http/compare/981b63b..fb3b4be): fb3b4be 2023-05-16 Brian Quinlan Revert "Support the NSURLSession WebSocket API (#921)" (#931) mockito (https://github.com/dart-lang/mockito/compare/51a7728..3fadd2d): 3fadd2d 2023-05-17 Ilya Yanok Let users provide dummy values for types b14d571 2023-05-15 Googler Fix for InvalidType native (https://github.com/dart-lang/native/compare/e01aa63..3d89166): 3d89166 2023-05-16 Daco Harkes Add iOS x64 back (#41) protobuf (https://github.com/dart-lang/protobuf/compare/05058a7..038872b): 038872b 2023-05-16 Oleh Prypin Remove implementation of `hashCode` because it makes enum values non-const in Dart 3 (#831) test (https://github.com/dart-lang/test/compare/8e444df..cdedf40): cdedf40c 2023-05-16 Nate Bosch Prepare to publish (#2016) test_process (https://github.com/dart-lang/test_process/compare/b6a6cd5..d7a1711): d7a1711 2023-05-16 Nate Bosch Prepare to publish (#44) tools (https://github.com/dart-lang/tools/compare/62c9604..49da4ca): 49da4ca 2023-05-12 Polina Cherkasova Add memory events. (#92) webdev (https://github.com/dart-lang/webdev/compare/60616ba..2b2ae0e): 2b2ae0e8 2023-05-15 Elliott Brooks Try to fix dependabot PRs (#2112) d19dafe0 2023-05-15 Elliott Brooks Manual update deps (#2113) c0eb1069 2023-05-15 Elliott Brooks Disable tests using webdriver (#2115) a16bc9f2 2023-05-15 Elliott Brooks Dart Debug Extension builder fix (#2117) Change-Id: Icd714c5d54cd3aee999e4ae3cc3a97928dc1a821 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/304120 Commit-Queue: Devon Carew <devoncarew@google.com> Auto-Submit: Devon Carew <devoncarew@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
[user feedback]
In build 4760 the isolate sample (.\samples\isolate) is broken.
////////////////////////////////////////////////////////////////////////////////////
Editor Version: 4760
////////////////////////////////////////////////////////////////////////////////////
OS: Windows 7 - amd64 (6.1)
experimental/projectsview = false
experimental/filesview = false
SDK installed = true
Dartium installed = false
////////////////////////////////////////////////////////////////////////////////////
!ENTRY com.google.dart.tools.ui 4 10001 2012-03-07 01:29:32.086
!MESSAGE Internal Error
!STACK 1
Dart Model Exception: Core Exception [code 0] Failed to parse file:/C:/Users/${user.name}/Desktop/DartBuild-win32.win32.x86_64/dart/samples/isolate_html/isolate_sample.dart
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:777)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:757)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:721)
at com.google.dart.tools.ui.internal.text.editor.DartEditor.getAST(DartEditor.java:2014)
at com.google.dart.tools.ui.internal.text.editor.DartTextHover.getHoverInfo(DartTextHover.java:46)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:168)
Caused by: java.lang.AssertionError: Internal error: unexpected kind DYNAMIC
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.internalError(TypeAnalyzer.java:244)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitPropertyAccess(TypeAnalyzer.java:1398)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitPropertyAccess(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartPropertyAccess.accept(DartPropertyAccess.java:95)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeOf(TypeAnalyzer.java:725)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.nonVoidTypeOf(TypeAnalyzer.java:739)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodInvocation(TypeAnalyzer.java:807)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodInvocation(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartMethodInvocation.accept(DartMethodInvocation.java:77)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeOf(TypeAnalyzer.java:725)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitExprStmt(TypeAnalyzer.java:975)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitExprStmt(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartExprStmt.accept(DartExprStmt.java:36)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visit(TypeAnalyzer.java:1708)
at com.google.dart.compiler.ast.DartBlock.visitChildren(DartBlock.java:44)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeAsVoid(TypeAnalyzer.java:783)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitBlock(TypeAnalyzer.java:779)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitBlock(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartBlock.accept(DartBlock.java:49)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeOf(TypeAnalyzer.java:725)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitFunction(TypeAnalyzer.java:1032)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitFunction(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartFunction.accept(DartFunction.java:66)
at com.google.dart.compiler.ast.DartMethodDefinition.visitChildren(DartMethodDefinition.java:78)
at com.google.dart.compiler.ast.DartMethodDefinition$DartMethodWithInitializersDefinition.visitChildren(DartMethodDefinition.java:114)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeAsVoid(TypeAnalyzer.java:783)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodDefinition(TypeAnalyzer.java:1163)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodDefinition(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartMethodDefinition.accept(DartMethodDefinition.java:83)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visit(TypeAnalyzer.java:1708)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitClass(TypeAnalyzer.java:857)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitClass(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartClass.accept(DartClass.java:206)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visit(TypeAnalyzer.java:1708)
at com.google.dart.compiler.ast.DartUnit.visitChildren(DartUnit.java:97)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeAsVoid(TypeAnalyzer.java:783)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitUnit(TypeAnalyzer.java:1586)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitUnit(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartUnit.accept(DartUnit.java:105)
at com.google.dart.compiler.type.TypeAnalyzer.exec(TypeAnalyzer.java:173)
at com.google.dart.compiler.DartCompiler.analyzeLibrary(DartCompiler.java:1270)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.secureAnalyzeLibrary(DartCompilerUtilities.java:793)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities$ResolverRunnable.run(DartCompilerUtilities.java:454)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities$CompilerRunner.runSafe(DartCompilerUtilities.java:103)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:775)
... 5 more
Caused by: org.eclipse.core.runtime.CoreException: Failed to parse file:/C:/Users/${user.name}/Desktop/DartBuild-win32.win32.x86_64/dart/samples/isolate_html/isolate_sample.dart
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:778)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:757)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:721)
at com.google.dart.tools.ui.internal.text.editor.DartEditor.getAST(DartEditor.java:2014)
at com.google.dart.tools.ui.internal.text.editor.DartTextHover.getHoverInfo(DartTextHover.java:46)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:168)
Caused by: java.lang.AssertionError: Internal error: unexpected kind DYNAMIC
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.internalError(TypeAnalyzer.java:244)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitPropertyAccess(TypeAnalyzer.java:1398)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitPropertyAccess(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartPropertyAccess.accept(DartPropertyAccess.java:95)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeOf(TypeAnalyzer.java:725)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.nonVoidTypeOf(TypeAnalyzer.java:739)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodInvocation(TypeAnalyzer.java:807)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodInvocation(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartMethodInvocation.accept(DartMethodInvocation.java:77)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeOf(TypeAnalyzer.java:725)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitExprStmt(TypeAnalyzer.java:975)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitExprStmt(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartExprStmt.accept(DartExprStmt.java:36)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visit(TypeAnalyzer.java:1708)
at com.google.dart.compiler.ast.DartBlock.visitChildren(DartBlock.java:44)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeAsVoid(TypeAnalyzer.java:783)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitBlock(TypeAnalyzer.java:779)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitBlock(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartBlock.accept(DartBlock.java:49)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeOf(TypeAnalyzer.java:725)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitFunction(TypeAnalyzer.java:1032)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitFunction(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartFunction.accept(DartFunction.java:66)
at com.google.dart.compiler.ast.DartMethodDefinition.visitChildren(DartMethodDefinition.java:78)
at com.google.dart.compiler.ast.DartMethodDefinition$DartMethodWithInitializersDefinition.visitChildren(DartMethodDefinition.java:114)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeAsVoid(TypeAnalyzer.java:783)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodDefinition(TypeAnalyzer.java:1163)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodDefinition(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartMethodDefinition.accept(DartMethodDefinition.java:83)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visit(TypeAnalyzer.java:1708)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitClass(TypeAnalyzer.java:857)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitClass(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartClass.accept(DartClass.java:206)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visit(TypeAnalyzer.java:1708)
at com.google.dart.compiler.ast.DartUnit.visitChildren(DartUnit.java:97)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeAsVoid(TypeAnalyzer.java:783)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitUnit(TypeAnalyzer.java:1586)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitUnit(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartUnit.accept(DartUnit.java:105)
at com.google.dart.compiler.type.TypeAnalyzer.exec(TypeAnalyzer.java:173)
at com.google.dart.compiler.DartCompiler.analyzeLibrary(DartCompiler.java:1270)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.secureAnalyzeLibrary(DartCompilerUtilities.java:793)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities$ResolverRunnable.run(DartCompilerUtilities.java:454)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities$CompilerRunner.runSafe(DartCompilerUtilities.java:103)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:775)
... 5 more
!SUBENTRY 1 com.google.dart.tools.core 4 0 2012-03-07 01:29:32.086
!MESSAGE Failed to parse file:/C:/Users/${user.name}/Desktop/DartBuild-win32.win32.x86_64/dart/samples/isolate_html/isolate_sample.dart
!STACK 0
java.lang.AssertionError: Internal error: unexpected kind DYNAMIC
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.internalError(TypeAnalyzer.java:244)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitPropertyAccess(TypeAnalyzer.java:1398)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitPropertyAccess(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartPropertyAccess.accept(DartPropertyAccess.java:95)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeOf(TypeAnalyzer.java:725)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.nonVoidTypeOf(TypeAnalyzer.java:739)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodInvocation(TypeAnalyzer.java:807)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodInvocation(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartMethodInvocation.accept(DartMethodInvocation.java:77)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeOf(TypeAnalyzer.java:725)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitExprStmt(TypeAnalyzer.java:975)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitExprStmt(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartExprStmt.accept(DartExprStmt.java:36)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visit(TypeAnalyzer.java:1708)
at com.google.dart.compiler.ast.DartBlock.visitChildren(DartBlock.java:44)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeAsVoid(TypeAnalyzer.java:783)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitBlock(TypeAnalyzer.java:779)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitBlock(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartBlock.accept(DartBlock.java:49)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeOf(TypeAnalyzer.java:725)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitFunction(TypeAnalyzer.java:1032)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitFunction(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartFunction.accept(DartFunction.java:66)
at com.google.dart.compiler.ast.DartMethodDefinition.visitChildren(DartMethodDefinition.java:78)
at com.google.dart.compiler.ast.DartMethodDefinition$DartMethodWithInitializersDefinition.visitChildren(DartMethodDefinition.java:114)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeAsVoid(TypeAnalyzer.java:783)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodDefinition(TypeAnalyzer.java:1163)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitMethodDefinition(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartMethodDefinition.accept(DartMethodDefinition.java:83)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visit(TypeAnalyzer.java:1708)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitClass(TypeAnalyzer.java:857)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitClass(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartClass.accept(DartClass.java:206)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visit(TypeAnalyzer.java:1708)
at com.google.dart.compiler.ast.DartUnit.visitChildren(DartUnit.java:97)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.typeAsVoid(TypeAnalyzer.java:783)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitUnit(TypeAnalyzer.java:1586)
at com.google.dart.compiler.type.TypeAnalyzer$Analyzer.visitUnit(TypeAnalyzer.java:1)
at com.google.dart.compiler.ast.DartUnit.accept(DartUnit.java:105)
at com.google.dart.compiler.type.TypeAnalyzer.exec(TypeAnalyzer.java:173)
at com.google.dart.compiler.DartCompiler.analyzeLibrary(DartCompiler.java:1270)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.secureAnalyzeLibrary(DartCompilerUtilities.java:793)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities$ResolverRunnable.run(DartCompilerUtilities.java:454)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities$CompilerRunner.runSafe(DartCompilerUtilities.java:103)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:775)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:757)
at com.google.dart.tools.core.utilities.compiler.DartCompilerUtilities.resolveUnit(DartCompilerUtilities.java:721)
at com.google.dart.tools.ui.internal.text.editor.DartEditor.getAST(DartEditor.java:2014)
at com.google.dart.tools.ui.internal.text.editor.DartTextHover.getHoverInfo(DartTextHover.java:46)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:168)
The text was updated successfully, but these errors were encountered: