Skip to content

Instantly share code, notes, and snippets.

View philip-wernersbach's full-sized avatar

Philip Wernersbach philip-wernersbach

View GitHub Profile
diff --git a/lib/main.dart b/lib/main.dart
index 5169bd5..0be3e6f 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -96,102 +96,13 @@ class MainAppState extends State<MainApp> {
MainAppState();
Future<void> initProcess() async {
- _process = await openProcess();
_eventController = StreamController<AppEvent>();
Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Compiler message:
lib/state/state.dart:14:6: Error: Error when reading 'lib/state/state.g.dart': No such file or directory
part 'state.g.dart';
^
lib/logic/types.dart:10:6: Error: Error when reading 'lib/logic/types.g.dart': No such file or directory
part 'types.g.dart';
^
lib/protocol/protocol.dart:13:6: Error: Error when reading 'lib/protocol/protocol.g.dart': No such file or directory
$ tar -xJf nim-0.16.0.tar.xz && cd nim-0.16.0 && nim c koch && ./koch nimble
Hint: used config file '/nix/store/b80ka1p9jpyqbrr9d50h9v9h3xsgh3bb-nim-0.16.0/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: koch [Processing]
Hint: os [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: math [Processing]
Hint: algorithm [Processing]
Hint: times [Processing]
Traceback (most recent call last)
koch.nim(491) koch
koch.nim(211) buildNimble
koch.nim(159) copyExe
os.nim(602) copyFile
os.nim(153) raiseOSError
Error: unhandled exception: No such file or directory [OSError]
> nimble install nimfp
Downloading https://github.com/vegansk/nimfp using git
Tip: 2 messages have been suppressed, use --verbose to show them.
Error: Traceback (most recent call last)
... nimble.nim(1073) nimble
... nimble.nim(999) doAction
... nimble.nim(606) install
... nimble.nim(570) downloadPkg
... download.nim(199) doDownload
... download.nim(165) verifyClone
A:
name: JobMaterialDeliveredNew
-----------------------------
time value
2015-11-23T22:00:00.000000000Z 1
2015-11-23T23:00:00.000000000Z 7
2015-11-24T00:00:00.000000000Z 142
2015-11-24T01:00:00.000000000Z
2015-11-24T02:00:00.000000000Z 149
gc.nim(469) newObj
gc.nim(439) rawNewObj
gc.nim(951) collectCT
gc.nim(910) collectCTBody
gc.nim(760) collectCycles
gc.nim(746) collectRoots
gc.nim(620) collectWhite
gc.nim(369) forAllChildren
gc.nim(736) nimGCvisit
gc.nim(721) doOperation
lib/pure/collections/lists.nim(29, 5) Error: internal error: genTraverseProc()
Traceback (most recent call last)
nim.nim(107) nim
nim.nim(71) handleCmdLine
main.nim(255) mainCommand
main.nim(63) commandCompileToC
modules.nim(221) compileProject
modules.nim(169) compileModule
passes.nim(203) processModule
passes.nim(137) processTopLevelStmt
# Run with "nim cpp -r"
import asyncdispatch
# This doesn't work because the Nim compiler generates a goto that
# jumps into a try block.
#
# In C++ you can jump out of a try block, but not into it. In addition,
# jumping out of the try block here isn't valid behavior, because C++
# will execute applicable destructors.
total executions of each stack trace:
Entry: 1/29 Calls: 4/56 = 7.1% [sum: 4; 4/56 = 7.1%]
genericAssignAux 43/56 = 77.%
genericAssignAux 43/56 = 77.%
genericAssign 43/56 = 77.%
genericSeqAssign 37/56 = 66.%
unpack 21/56 = 38.%
test_all 56/56 = 1.0e+02%
Entry: 2/29 Calls: 4/56 = 7.1% [sum: 8; 8/56 = 14.%]
genericAssignAux 43/56 = 77.%