mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-16 22:11:18 +00:00
version 0.8.8
This commit is contained in:
@@ -5,11 +5,11 @@ tambsym2.nim;4;undeclared identifier: 'CreateRGBSurface'
|
||||
tambsym3.nim;6;ambiguous identifier
|
||||
tatomic.nim;2;identifier expected, but found 'atomic'
|
||||
tbind2.nim;7;ambiguous call
|
||||
tbind4.nim;4;instantiation from here
|
||||
tbind4.nim;4;undeclared identifier: 'lastId'
|
||||
tblock1.nim;9;undeclared identifier: 'ha'
|
||||
tconstr1.nim;20;type mismatch
|
||||
tillrec.nim;8;illegal recursion in type 'TIllegal'
|
||||
tinc.nim;3;to var type a variable needs to be passed
|
||||
tinc.nim;3;for a 'var' type a variable needs to be passed
|
||||
tinout.nim;7;for a 'var' type a variable needs to be passed
|
||||
tinvalidnewseq.nim;10;type mismatch: got (array[0..6, string], int)
|
||||
tinvwhen.nim;6;invalid indentation
|
||||
|
||||
|
6
tests/reject/tambsym2.nim
Executable file
6
tests/reject/tambsym2.nim
Executable file
@@ -0,0 +1,6 @@
|
||||
|
||||
from sdl import PSurface
|
||||
|
||||
discard SDL.CreateRGBSurface(SDL.SWSURFACE, 23, 34,
|
||||
32, 0x00FF0000, 0x0000FF00, 0x000000FF, 0xff000000)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
var x = 0
|
||||
|
||||
inc(x+1) #ERROR_MSG to var type a variable needs to be passed
|
||||
inc(x+1)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user