Skip to content

Instantly share code, notes, and snippets.

@Vindaar
Last active March 28, 2018 18:08
Show Gist options
  • Save Vindaar/ea1ad0abb7134255bb8122f19b2d6b87 to your computer and use it in GitHub Desktop.
Save Vindaar/ea1ad0abb7134255bb8122f19b2d6b87 to your computer and use it in GitHub Desktop.
proc compilerError*[T](x: seq[T], y = @[]) =
discard
proc linkerError*[T](x: seq[T], y: seq[T] = @[]) =
discard
when isMainModule:
let a = @[0, 1, 2]
#compilerError(a)
linkerError(a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment