From 2b5e48d80735be60c68023de114a586bbcc18360 Mon Sep 17 00:00:00 2001 From: Miran Date: Thu, 7 Mar 2019 00:49:39 +0100 Subject: move assertions and iterators out of system.nim (#10597) * move assertions and iterators out of system.nim * limit nimsuggest tests to the first 3 suggestions --- tests/manyloc/standalone/panicoverride.nim | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/manyloc/standalone') diff --git a/tests/manyloc/standalone/panicoverride.nim b/tests/manyloc/standalone/panicoverride.nim index 9d0d070c7..d9b3f4388 100644 --- a/tests/manyloc/standalone/panicoverride.nim +++ b/tests/manyloc/standalone/panicoverride.nim @@ -2,10 +2,6 @@ proc printf(frmt: cstring) {.varargs, importc, header: "", cdecl.} proc exit(code: int) {.importc, header: "", cdecl.} -proc nimToCStringConv(s: NimString): cstring {.compilerProc, inline.} = - if s == nil or s.len == 0: result = cstring"" - else: result = cstring(addr s.data) - {.push stack_trace: off, profiler:off.} proc rawoutput(s: string) = -- cgit 1.4.1-2-gfad0