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

dartanalyzer exited with status code 3, but by manual it must be one of 0,1,2 #20679

Closed
DartBot opened this issue Aug 25, 2014 · 3 comments
Closed
Labels
analyzer-command Issues with the command-line dartanalyzer tool area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. closed-duplicate Closed in favor of an existing report
Milestone

Comments

@DartBot
Copy link

DartBot commented Aug 25, 2014

This issue was originally filed by tatarki...@gmail.com


What steps will reproduce the problem?

  1. with errors
user@localhost:~/prj/tmp/angular-dart-todomvc$ dartanalyzer web/main.dart           
Analyzing [web/main.dart]...
[error] Variables must be declared using the keywords 'const', 'final', 'var' or a type name (/home/user/prj/tmp/angular-dart-todomvc/web/todo.dart, line 7, col 1)
1 error found.
user@localhost:~/prj/tmp/angular-dart-todomvc$ echo $?                              
3

What is the expected output? What do you see instead?

1 or 2 https://www.dartlang.org/docs/dart-up-and-running/contents/ch04-tools-dart_analyzer.html#ch04-dartanalyzer-exit

What version of the product are you using?

user@localhost:~/prj/tmp/angular-dart-todomvc$ dartanalyzer --version
dartanalyzer version <unknown>

user@localhost:~/prj/tmp/angular-dart-todomvc$ dart --version
Dart VM version: 1.5.8 (Tue Jul 29 07:05:41 2014) on "linux_x64"

On what operating system?

user@localhost:~/prj/tmp/angular-dart-todomvc$ uname -a 
Linux localhost 3.16.1-1-ARCH #­1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64 GNU/Linux

source - vim-syntastic/syntastic#1164

Sorry for my poor English

Please provide any additional information below.

@bwilkerson
Copy link
Member

Removed Priority-Unassigned label.
Added Priority-Medium, Area-Analyzer, Analyzer-Command, Triaged labels.

@bwilkerson
Copy link
Member

The manual needs to be updated.


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

@clayberg
Copy link

Added this to the 1.8 milestone.

@DartBot DartBot added Type-Defect area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-command Issues with the command-line dartanalyzer tool closed-duplicate Closed in favor of an existing report labels Nov 28, 2014
@DartBot DartBot added this to the 1.8 milestone Nov 28, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-command Issues with the command-line dartanalyzer tool area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

3 participants