fix topt_no_cursor.nim (#20791)
This commit is contained in:
parent
8fcb9380f0
commit
82e99f2332
1 changed files with 22 additions and 11 deletions
|
|
@ -1,16 +1,12 @@
|
||||||
discard """
|
discard """
|
||||||
output: '''(package: "", ext: "meo")
|
nimoutFull: true
|
||||||
doing shady stuff...
|
cmd: '''nim c -r --warnings:off --hints:off --gc:arc --expandArc:newTarget --expandArc:delete --expandArc:p1 --expandArc:tt --hint:Performance:off --assertions:off --expandArc:extractConfig --expandArc:mergeShadowScope --expandArc:check $file'''
|
||||||
3
|
|
||||||
6
|
|
||||||
(@[1], @[2])
|
|
||||||
192.168.0.1
|
|
||||||
192.168.0.1
|
|
||||||
192.168.0.1
|
|
||||||
192.168.0.1'''
|
|
||||||
cmd: '''nim c --gc:arc --expandArc:newTarget --expandArc:delete --expandArc:p1 --expandArc:tt --hint:Performance:off --assertions:off --expandArc:extractConfig --expandArc:mergeShadowScope --expandArc:check $file'''
|
|
||||||
nimout: '''--expandArc: newTarget
|
nimout: '''--expandArc: newTarget
|
||||||
|
|
||||||
|
var
|
||||||
|
splat
|
||||||
|
:tmp
|
||||||
|
:tmp_1
|
||||||
splat = splitDrive do:
|
splat = splitDrive do:
|
||||||
let blitTmp = path
|
let blitTmp = path
|
||||||
blitTmp
|
blitTmp
|
||||||
|
|
@ -101,6 +97,7 @@ try:
|
||||||
`=destroy`(splitted)
|
`=destroy`(splitted)
|
||||||
finally:
|
finally:
|
||||||
`=destroy_1`(lan_ip)
|
`=destroy_1`(lan_ip)
|
||||||
|
-- end of expandArc ------------------------
|
||||||
--expandArc: mergeShadowScope
|
--expandArc: mergeShadowScope
|
||||||
|
|
||||||
var shadowScope
|
var shadowScope
|
||||||
|
|
@ -150,7 +147,21 @@ if dirExists(par.dir):
|
||||||
else:
|
else:
|
||||||
`=sink`(this.matchDirs, [])
|
`=sink`(this.matchDirs, [])
|
||||||
`=destroy`(par)
|
`=destroy`(par)
|
||||||
-- end of expandArc ------------------------'''
|
-- end of expandArc ------------------------
|
||||||
|
--expandArc: check
|
||||||
|
|
||||||
|
check(this)
|
||||||
|
-- end of expandArc ------------------------
|
||||||
|
(package: "", ext: "meo")
|
||||||
|
doing shady stuff...
|
||||||
|
3
|
||||||
|
6
|
||||||
|
(@[1], @[2])
|
||||||
|
192.168.0.1
|
||||||
|
192.168.0.1
|
||||||
|
192.168.0.1
|
||||||
|
192.168.0.1
|
||||||
|
'''
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os, std/private/ntpath
|
import os, std/private/ntpath
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue