Commits

ZyX_I committed 061cf4d

@/fwc/compiler: Removed unused argument to compilepipe

Comments (0)

Files changed (1)

plugin/frawor/fwc/compiler.vim

     endif
     return self.getvar(a:str)
 endfunction
-"▶1 compilepipe    :: pipecontext, idx, needscheck + self → self + self
-let s:pipechecks={
-            \'substitute': ['intfunc', 'type',   [type('')]],
-            \      'take': ['intfunc', 'type',   [type('')]],
-            \       'run': ['intfunc', 'isfunc', 0         ],
-            \      'earg': ['intfunc', 'type',   [type('')]],
-            \     'tuple': ['intfunc', 'type',   [type([])]],
-            \      'list': ['intfunc', 'type',   [type([])]],
-            \      'dict': ['intfunc', 'type',   [type({})]],
-        \}
-function s:constructor.compilepipe(pipe, idx, ...)
+"▶1 compilepipe    :: pipecontext, idx + self → self + self
+function s:constructor.compilepipe(pipe, idx)
     let curargstr=self.argstr()
     "▶2 `func' pipe
     if a:pipe[1][0] is 'func'
     return self
 endfunction
 "▶1 compilearg     :: argcontext, idx[, defcomptype] + self → self + self
+let s:pipechecks={
+            \'substitute': ['intfunc', 'type',   [type('')]],
+            \      'take': ['intfunc', 'type',   [type('')]],
+            \       'run': ['intfunc', 'isfunc', 0         ],
+            \      'earg': ['intfunc', 'type',   [type('')]],
+            \     'tuple': ['intfunc', 'type',   [type([])]],
+            \      'list': ['intfunc', 'type',   [type([])]],
+            \      'dict': ['intfunc', 'type',   [type({})]],
+        \}
 function s:constructor.compilearg(argcon, idx, ...)
     let type=get(a:000, 0, self.type)
     if a:argcon[0] is 'arg'