summary refs log tree commit diff stats
path: root/lib/arch/x86
Commit message (Expand)AuthorAgeFilesLines
* Coroutine rework.Rokas Kupstys2017-02-202-0/+160
?h=devel&id=1980c8930d69ec3a53bcb4da993d387269f78eab'>^
1c9b4e5d3 ^
adedfc3a1 ^





e80465dac ^
adedfc3a1 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
           
                           





                                                              
 




                                                    
discard """
  errormsg: "type mismatch"
  line: 7
"""

proc p(q: proc() ): proc() {.tags: [], raises: [], closure.} =
  return proc () =
    q()

let yay = p(proc () = raise newException(EIO, "IO"))

proc main() {.raises: [], tags: [].} = yay()

main()