Skip to content

Commit

Permalink
cleanup old codes (#16173)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Nov 30, 2020
1 parent 31a8cf1 commit 3589631
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tests/tuples/tuple_with_nil.nim
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
import macros
from strutils import IdentStartChars
import parseutils
import unicode
import math
import fenv
import pegs
import streams

type
FormatError = object of Exception ## Error in the format string.
FormatError = object of CatchableError ## Error in the format string.

Writer = concept W
## Writer to output a character `c`.
when (NimMajor, NimMinor, NimPatch) > (0, 10, 2):
write(W, 'c')
else:
block:
var x: W
write(x, char)
write(W, 'c')

FmtAlign = enum ## Format alignment
faDefault ## default for given format type
Expand Down

0 comments on commit 3589631

Please sign in to comment.