diff options
author | Araq <rumpf_a@web.de> | 2014-08-23 01:43:49 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-23 01:43:49 +0200 |
commit | 2f43fdb8379acd783beee58b1b2c8225a486a70c (patch) | |
tree | 3381ea28e5c2709bafeaf31eb8a7cc9b15c8b8b2 /compiler/msgs.nim | |
parent | fc0fda14ae1caf83d1b39029bebb702ff306b1e0 (diff) | |
download | Nim-2f43fdb8379acd783beee58b1b2c8225a486a70c.tar.gz |
renamefest
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r-- | compiler/msgs.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim index cd5b34194..00f80a438 100644 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -468,8 +468,8 @@ type TErrorOutputs* = set[TErrorOutput] - ERecoverableError* = object of EInvalidValue - ESuggestDone* = object of E_Base + ERecoverableError* = object of ValueError + ESuggestDone* = object of Exception const InvalidFileIDX* = int32(-1) @@ -858,7 +858,7 @@ proc sourceLine*(i: TLineInfo): PRope = try: for line in lines(i.toFullPath): addSourceLine i.fileIndex, line.string - except EIO: + except IOError: discard internalAssert i.fileIndex < fileInfos.len # can happen if the error points to EOF: |