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

ErrorStream not shown in console output #44

Closed
vogella opened this issue Jun 24, 2019 · 2 comments

Comments

@vogella
Copy link
Contributor

commented Jun 24, 2019

I created a small test program:

class Bicycle {
  int cadence;
  int speed;
  int gear;
}

void main() {
	var bike = new Bicycle(2, 0, 1);
	print(bike);
}

Running this via the Dart run Configuration gives no output. Here is the run configuration.

image

@vogella

This comment has been minimized.

Copy link
Contributor Author

commented Jun 24, 2019

If I try to run on the command line, I get an error:

vogella@Angelo:~/workspace/dart/dart-examples$ dart main.dart 
main.dart:8:24: Error: Too many positional arguments: 0 allowed, but 3 found.
Try removing the extra positional arguments.
	var bike = new Bicycle(2, 0, 1);
	                      ^
main.dart:1:7: Context: The class 'Bicycle' has a constructor that takes no arguments.
class Bicycle {
      ^

Dart tooling should also show error warning or error during execution.

@vogella

This comment has been minimized.

Copy link
Contributor Author

commented Jun 24, 2019

See also #47.

@jonas-jonas jonas-jonas changed the title Running Dart program results in no feedback / output ErrorStream not shown in console output Jun 24, 2019
@jonas-jonas jonas-jonas self-assigned this Jun 24, 2019
@jonas-jonas jonas-jonas added the Bug label Jun 24, 2019
@jonas-jonas jonas-jonas added this to To do in June via automation Jun 24, 2019
@jonas-jonas jonas-jonas added this to To do in Backlog via automation Jun 24, 2019
June automation moved this from To do to Done Jul 1, 2019
Backlog automation moved this from To do to Done Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
June
  
Done
Backlog
  
Done
2 participants
You can’t perform that action at this time.