View example2.dart
import 'dart:async';
import 'dart:collection';
void main(){
final completer = new Completer<dynamic>();
final future = completer.future;
future.then((dynamic result){
print('before error');
View problem.dart
import 'dart:async';
import 'dart:collection';
void main(){
final completer = new Completer<dynamic>();
final future = completer.future;
future.then((dynamic result){
print('before error');
View wont_work.dart
import 'dart:async';
import 'dart:collection';
void main(){
final a = <dynamic>['1', '2'];
print(a as List<String>);
}
View example.dart
import 'dart:async';
import 'dart:collection';
void main(){
final completer = new Completer<dynamic>();
final future = completer.future;
future.then((dynamic result){
print('before error');
View chat.sh
#!/usr/bin/env bash
# draw image and open chart for memory real
# and virtual usage
set e
FILE=measures.csv;
SCALE=1048576
View chat.sh
#!/usr/bin/env bash
# draw image and open chart for memory real
# and virtual usage
set e
FILE=measures.csv;
SCALE=1048576
View example.dart
import 'dart:html';
void main() {
// far far away in code
final cat = new Cat();
// in this function
final list = [cat];
// type error
View chat.sh
#!/usr/bin/env bash
# draw image and open chart for memory real
# and virtual usage
set e
FILE=measures.csv;
SCALE=1048576
View performance.sh
#!/usr/bin/env bash
set -e
#pub upgrade --no-precompile
dart --observe --pause_isolates_on_exit tool/grind.dart atomic-build-runner &
#dart --optimization_counter_threshold=500 --worker_timeout_millis=500 --new_gen_ext_limit=4048 --old_gen_growth_rate=1000 tool/grind.dart serve &
pid=$!
View gist:e48eddb1672c55ba24bde9eb8b268e0a
import 'package:build_runner/build_runner.dart';
import 'dart:io';
final list = [
// '\$sdk',
// 'RAL',
// 'analyzer',
// 'angular',
// 'angular_compiler',
// 'angular_forms',