summaryrefslogtreecommitdiffstats
path: root/tests/apply.test
Commit message (Collapse)AuthorAgeFilesLines
* Remove knownBug constraint now that apply has been fixedapnadkarni2022-08-061-1/+1
|
* Merge core-8-branchapnadkarni2022-08-061-0/+11
|\
| * merge 8.6 (apply SF fix)sebres2022-07-291-0/+11
| |\
| | * cherry-pick branch apn-apply-bug (only test without the fix) to 8.6sebres2022-07-271-0/+11
| | |\
| | | * Make testapplylambda work on Windows with gcc toojan.nijtmans2022-07-251-0/+2
| | | |
| | | * Fix and test crash using apply when the passed argumentapnadkarni2022-07-221-0/+9
| | |/ | |/| | | | | | | does NOT have already Lambda internal representation but the body of the lambda DOES have an internal ByteCode representation.
| | * Remove unnecessary end-of-line spacing in test-casesjan.nijtmans2021-02-161-1/+1
| | |
* | | Mark apply-9.1 as "knownBug", since it's failing in a --enable-symbols=mem ↵jan.nijtmans2022-07-191-1/+1
|/ / | | | | | | builds. Still need to be fixed! See [https://github.com/tcltk/tcl/runs/7404340406?check_suite_focus=true]
* | More ©-sign consolidationjan.nijtmans2020-11-231-1/+1
| |
* | Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-4/+4
| | | | | | | | whenever reasonable.
* | Merge 8.6jan.nijtmans2020-10-261-1/+1
|\ \ | |/
| * Fix [48898ab5f6a0d957]: Too few is better than not enough? (Inconsistent ↵jan.nijtmans2020-10-261-1/+1
| | | | | | | | error messages)
* | Merge 8.6jan.nijtmans2020-09-041-1/+1
|\ \ | |/
| * Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-2/+2
| | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
* | More of the same (see previous commit)jan.nijtmans2020-07-161-1/+1
| |
* | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-1/+1
|/
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ | | | | cause more harm than good. Purged them (except in zlib files).
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| | | | | | more harm than good. Purged them.
| * * generic/tclProc.c (ProcWrongNumArgs): [Bug 3045010]: Make thedkf2010-08-151-3/+3
| | | | | | | | | | 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
| |
* | * 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: