From e6f14352d61721db83b46e0e56c4d19b731fed95 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 14 Jun 2010 11:57:08 +0000 Subject: 28037: improved error messages for module autoloads of math functions and builtins --- Test/V01zmodload.ztst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Test/V01zmodload.ztst') diff --git a/Test/V01zmodload.ztst b/Test/V01zmodload.ztst index 090c637df..d74b0ef18 100644 --- a/Test/V01zmodload.ztst +++ b/Test/V01zmodload.ztst @@ -135,7 +135,7 @@ print "Shouldn't get here.") 1:Failed builtin autoload ?(eval):3: module `zsh/parameter' has no such feature: `b:fail': autoload cancelled -?(eval):3: unknown builtin: fail +?(eval):3: autoloading module zsh/parameter failed to define builtin: fail (zmodload -u zsh/parameter zmodload -aF zsh/parameter p:fail @@ -158,7 +158,7 @@ (( fail() )) ) 2:Failed math function autoload ?(eval):3: module `zsh/parameter' has no such feature: `f:fail': autoload cancelled -?(eval):3: unknown function: fail +?(eval):3: autoloading module zsh/parameter failed to define math function: fail zmodload -aF zsh/parameter f:fail2 1:Immediate autoload failure on non-existent feature when module loaded -- cgit 1.4.1