File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,11 @@ macro api(cmd::Symbol)
8888 const __chain__ = APITools. APIList (__tmp_chain__)
8989 __tmp_chain__ = _tmp_api__ = nothing
9090 end )
91+ elseif cmd == :list
92+ quote
93+ show (__api__)
94+ show (__tmp_chain__)
95+ end
9196 else
9297 error (" @api unrecognized command: $cmd " )
9398 end
@@ -186,7 +191,7 @@ macro api(cmd::Symbol, exprs...)
186191 grplst = (:public , :define_public )
187192 elseif cmd == :test
188193 grplst = (:public , :develop , :define_public , :define_develop )
189- push! (lst, V6_COMPAT ? :(using Base. Test) :(using Test))
194+ push! (lst, V6_COMPAT ? :(using Base. Test) : : (using Test))
190195 elseif cmd == :extend
191196 grplst = (:define_public , :define_develop )
192197 for mod in modules, grp in (:base , :public , :develop )
You can’t perform that action at this time.
0 commit comments