summaryrefslogtreecommitdiffstats
path: root/tests/apply.test
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclProc.c (ProcWrongNumArgs): [Bug 3045010]: Make thedkf2010-08-151-47/+44
| | | | | handling of passing the wrong number of arguments to [apply] somewhat less verbose when a lambda term is present.
* test hygiene for the ::tmp variabledgp2009-10-291-2/+4
|
* fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tclInt.h: Removed the "nsName" Tcl_ObjType from thedgp2007-09-091-20/+14
| | | | | | | | | | | | | | | | | | | * generic/tclNamesp.c: registered set. Revised the management of * generic/tclObj.c: the intrep of that Tcl_ObjType. Revised the * tests/obj.test: TclGetNamespaceFromObj() routine to return TCL_ERROR and write a consistent error message when a namespace is not found. [Bug 1588842. Patch 1686862] ***POTENTIAL INCOMPATIBILITY*** For callers of Tcl_GetObjType() on the name "nsName". * generic/tclExecute.c: Update TclGetNamespaceFromObj() callers. * generic/tclProc.c: * tests/apply.test: Updated tests to expect new consistent * tests/namespace-old.test: error message when a namespace is not * tests/namespace.test: found. * tests/upvar.test:
* * generic/tclProc.c (Tcl_ApplyObjCmd):Miguel Sofer2007-03-291-1/+19
| | | | | | * tests/apply.test (9.3): Fixed Tcl_Obj leak on error return; an unneeded ref to lambdaPtr was being set and not released on an error return path.
* Insert of calling point in middle of procedure code. Also cleaned up howdkf2006-10-281-35/+3
| | | | [apply] terms generate stack trace info.
* * tests/info.test (info-9.11-12): tests for [Bug 1577492]Miguel Sofer2006-10-241-2/+36
| | | | * tests/apply.test (apply-4.3-5): tests for [Bug 1574835]
* * tclProc.c (SetLambdaFromAny):Miguel Sofer2006-10-161-1/+40
| | | | | * tests/apply.test (9.1-9.2): plugged intrep leak [Bug 1578454], found by mjanssen.
* * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-091-2/+2
| | | | | | | | | | | | | | global variables ::errorInfo, ::errorCode, ::env and ::tcl_platform: many were relying on the alternative lookup in the global namespace, that feature is tested specifically in namespace and variable tests. The modified testfiles are: apply.test, basic.test, case.test, cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test, event.test, expr.test, fileSystem.test, for.test, http.test, if.test, incr-old.test, incr.test, interp.test, io.test, ioCmd.test, load.test, misc.test, namespace.test, parse.test, parseOld.test, pkg.test, proc-old.test, set.test, switch.test, tcltest.test, thread.test, var.test, while-old.test, while.test.
* * generic/tclProc.c (ObjInterpProcEx):Miguel Sofer2006-03-101-2/+2
| | | | | * tests/apply.test (apply-5.1): fix [apply] error messages so that they quote the lambda expression [Bug 1447355].
* dup test namedgp2006-02-091-2/+2
|
* dup test namedgp2006-02-091-2/+2
|
* * generic/tclProc.c: minor improvements to [apply]Miguel Sofer2006-02-011-21/+74
| | | | | * tests/apply.test: new tests; apply-5.1 currently fails to indicate missing work in error reporting
* TIP#194 IMPLEMENTATIONdgp2006-02-011-0/+218
* doc/apply.n: (New file) New command [apply]. [Patch 944803]. * doc/uplevel.n: * generic/tclBasic.c: * generic/tclInt.h: * generic/tclProc.c: * tests/apply.test: (New file) * tests/proc-old.test: * tests/proc.test: