Skip to content

Instantly share code, notes, and snippets.

3767/5127] OBJC host_x64/obj/flutter/shell/platform/darwin/desktop/mac_desktop_platform.flutter_app_delegate.o
In file included from ../../flutter/shell/platform/darwin/desktop/flutter_app_delegate.m:5:
In file included from ../../flutter/shell/platform/darwin/desktop/flutter_app_delegate.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:37:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Founda
$ /usr/local/bin/dart --version
Dart VM version: 1.15.0 (Wed Mar 9 09:55:45 2016) on "macos_x64"
$ nm /usr/local/bin/dart | grep Dart_
000000010000ac20 T _Dart_BooleanValue
0000000100007020 T _Dart_Cleanup
00000001000216e0 T _Dart_CompileAll
00000001000070c0 T _Dart_CreateIsolate
0000000100020b80 T _Dart_CreatePrecompiledSnapshot
0000000100008130 T _Dart_CreateScriptSnapshot
@pylaligand
pylaligand / test_server.dart
Last active March 27, 2016 21:24
Proper use of shelf_route's Routeable and Router#addAll.
import 'dart:async' show runZoned;
import 'package:shelf/shelf.dart' as shelf;
import 'package:shelf/shelf_io.dart' as io;
import 'package:shelf_route/shelf_route.dart';
void main() {
final mainRouter = router()
// localhost:9999/foo works, but not localhost:9999/bar
..addAll(new MyRouteable('/foo'))