Skip to content
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

VM error information is being truncated #414

Closed
DartBot opened this issue Nov 10, 2011 · 1 comment
Closed

VM error information is being truncated #414

DartBot opened this issue Nov 10, 2011 · 1 comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. closed-duplicate Closed in favor of an existing report P1 A high priority bug; for example, a single project is unusable or has many test failures

Comments

@DartBot
Copy link

DartBot commented Nov 10, 2011

This issue was originally filed by rice@google.com


I try to run a dart program ('MyClass') in the VM. The program imports a library (call it 'library1'), which imports another library (call it 'library2'), which sources a file with an error (in this case, a function incorrectly marked 'abstract' that has a function body). The error message is unhelpful, since it cuts off before the actual error.

$ dart MyClass.dart
Errors encountered while loading script: '../MyClass.dart': Error: line 7 pos 1: library handler failed: '.../library1.dart': Error: line 2 pos 1: library handler failed: '../library2.dart': Error: line 3 pos 1: library handler failed: '...<only a partial path appears here>

import("library1.dart");

^

I was eventually able to find the error by doing 'dart Library2.dart', but I should not need to play detective. Please ensure that a full error message is generated, to an arbitrary level of nesting.

@iposva-google
Copy link
Contributor

Added Duplicate label.
Marked as being merged into #180.

@DartBot DartBot added Type-Defect P1 A high priority bug; for example, a single project is unusable or has many test failures area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. closed-duplicate Closed in favor of an existing report labels Nov 21, 2011
nex3 pushed a commit that referenced this issue Aug 31, 2016
this doesn't fix the root call, but still, it's nice to clean up this dead code

R=vsm@google.com

Review URL: https://codereview.chromium.org/1609843002 .
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. closed-duplicate Closed in favor of an existing report P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

2 participants