ldmud/test/t-language
Alexander Motzkau 6ab27def56 Fix detection of inherited prototypes with optional arguments
Prototype-only functions are detected by looking at the first opcode of the
function. If the prototype has optional arguments, then the first bytes is
a jump table for argument initialization. The detection needs to look beyond
that.
2025-07-07 22:12:22 +02:00
..
inh Revived redeclare_variable(). 2017-09-27 00:45:39 +02:00
inc - (prolang.y) 2008-12-24 00:56:13 +00:00
master.c Implement standard struct definitions for use in efuns 2022-09-22 22:17:24 +02:00
sys - (prolang.y) 2008-12-24 00:56:13 +00:00
tf-0000740a.c Hide initializing variables in a for and foreach initializer 2020-09-02 15:28:40 +02:00
tf-0000740b.c Hide initializing variables in a for and foreach initializer 2020-09-02 15:28:40 +02:00
tf-0000859.c Corrected handling of missing type errors. 2018-01-22 22:41:29 +01:00
tf-0000861a.c Hide variables that are in initialization 2019-11-24 14:43:27 +01:00
tf-0000861b.c Hide variables that are in initialization 2019-11-24 14:43:27 +01:00
tf-0000866.c Improve error handling of syntax errors in inline closures 2018-08-30 23:26:56 +02:00
tf-0000887.c Check type when combining strings in prolang.y 2021-03-30 18:41:03 +02:00
tf-argtypes01.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes02.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes03.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes04.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes05.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes06.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes07.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes08.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes09.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes10.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes11.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes12.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes13.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes14.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes15.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes16.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes17.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes18.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-argtypes19.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tf-arrayliteral1.c Stricter type check for literals 2020-08-26 22:27:57 +02:00
tf-arrayliteral2.c Stricter type check for literals 2020-08-26 22:27:57 +02:00
tf-arrayliteral3.c Fix a memory leak on a compiler error 2022-08-02 23:16:44 +02:00
tf-cppmissinginclude1.c Preprocessor statements and pragmas must be written in full 2021-02-02 20:41:00 +01:00
tf-cppmissinginclude2.c Preprocessor statements and pragmas must be written in full 2021-02-02 20:41:00 +01:00
tf-cppshortendinclude1.c Preprocessor statements and pragmas must be written in full 2021-02-02 20:41:00 +01:00
tf-cppshortendinclude2.c Preprocessor statements and pragmas must be written in full 2021-02-02 20:41:00 +01:00
tf-cpptrailingelif.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailingelse1.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailingelse2.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailingendif1.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailingendif2.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailingif.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailingifdef.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailingifndef.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailinginclude1.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailinginclude2.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailingline.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-cpptrailingundef.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tf-foreachtype1.c Implement type checks for foreach 2020-09-30 17:14:02 +02:00
tf-foreachtype2.c Implement type checks for foreach 2020-09-30 17:14:02 +02:00
tf-foreachtype3.c Implement type checks for foreach 2020-09-30 17:14:02 +02:00
tf-function1.c - (prolang.y) Fix infinite loop when redefining a closure argument 2009-05-12 14:09:10 +00:00
tf-function2.c - (prolang.y) forbid accessing closure arguments from within the 2009-05-12 14:11:36 +00:00
tf-indexfun.c Prevent calling index operations as efuns 2022-01-08 22:16:53 +01:00
tf-inheritedstruct.c Introduce 'structs' modifier for inherit and default statement 2022-04-09 23:34:19 +02:00
tf-inheritself.c Mention the file name on inherit-self errors 2025-03-22 21:12:48 +01:00
tf-maxargs.c Fix crashes when having too many local variables 2022-01-08 22:16:54 +01:00
tf-maxcontext.c Fix crashes when having too many local variables 2022-01-08 22:16:54 +01:00
tf-maxlocal.c Fix crashes when having too many local variables 2022-01-08 22:16:54 +01:00
tf-mexpansion.c Change overflow check in macro argument parsing 2021-03-05 23:09:05 +01:00
tf-objecttypes.c Fix lwobject and object treated as compatible types 2022-05-22 19:11:40 +02:00
tf-oparg1.c Added compile time type checks for comparison operations 2022-01-08 22:16:53 +01:00
tf-private-closure.c Add test cases for access to private functions 2022-04-25 23:23:34 +02:00
tf-private-fun.c Add test cases for access to private functions 2022-04-25 23:23:34 +02:00
tf-private-struct-ref1.c Fix struct ref counting when using private structs 2022-09-25 15:49:33 +02:00
tf-private-struct-ref2.c Fix struct ref counting when using private structs 2022-09-25 15:49:33 +02:00
tf-private-struct.c Introduce 'structs' modifier for inherit and default statement 2022-04-09 23:34:19 +02:00
tf-private-struct2.c Introduce 'structs' modifier for inherit and default statement 2022-04-09 23:34:19 +02:00
tf-strict1.c Make pragma strict_types raise errors again 2020-07-05 13:18:57 +02:00
tf-strict2.c Make pragma strict_types raise errors again 2020-07-05 13:18:57 +02:00
tf-strict3.c Make pragma strict_types raise errors again 2020-07-05 13:18:57 +02:00
tf-strict4.c Make pragma strict_types raise errors again 2020-07-05 13:18:57 +02:00
tf-strict5.c Make pragma strict_types raise errors again 2020-07-05 13:18:57 +02:00
tf-strict6.c Make pragma strict_types raise errors again 2020-07-05 13:18:57 +02:00
tf-strict7.c Make pragma strict_types raise errors again 2020-07-05 13:18:57 +02:00
tf-strict8.c Make pragma strict_types raise errors again 2020-07-05 13:18:57 +02:00
tf-structliteral1.c Stricter type check for literals 2020-08-26 22:27:57 +02:00
tf-structliteral2.c Stricter type check for literals 2020-08-26 22:27:57 +02:00
tf-switch1.c - (prolang.y) 2008-12-24 00:56:13 +00:00
tf-switch2.c - (prolang.y) 2008-12-24 00:56:13 +00:00
tf-virtual-call.c Call to inherited functions can only access first-level inherits 2021-01-30 13:45:22 +01:00
ti-argtypes.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
ti-defaultvalues.c Fix detection of inherited prototypes with optional arguments 2025-07-07 22:12:22 +02:00
ti-private-fun.c Add test cases for access to private functions 2022-04-25 23:23:34 +02:00
ti-private-struct.c Introduce 'structs' modifier for inherit and default statement 2022-04-09 23:34:19 +02:00
ti-private-struct2.c Introduce 'structs' modifier for inherit and default statement 2022-04-09 23:34:19 +02:00
ti-private-struct3.c Fix struct ref counting when using private structs 2022-09-25 15:49:33 +02:00
ti-rttc-a.c Implement named object types 2022-01-09 01:13:21 +01:00
ti-rttc-b.c Implement named object types 2022-01-09 01:13:21 +01:00
ti-rttc-c.c Implement named object types 2022-01-09 01:13:21 +01:00
ti-rttc.c Check argument types against definition, not prototypes. 2015-09-13 01:41:12 +02:00
ti-struct.c Privately inherited structs should nonetheless be visible 2021-02-20 00:16:59 +01:00
ti-types.c Update the argument and return types on function redefinitions. 2014-02-19 23:12:36 +01:00
ti-virtual-a.c Call to inherited functions can only access first-level inherits 2021-01-30 13:45:22 +01:00
ti-virtual-b.c Call to inherited functions can only access first-level inherits 2021-01-30 13:45:22 +01:00
ti-wildcard-call-1.c Fix crash during compilation of wildcard calls 2022-04-25 23:21:31 +02:00
ti-wildcard-call-2.c Fix crash during compilation of wildcard calls 2022-04-25 23:21:31 +02:00
ti-wildcard-call-3.c Fix crash during compilation of wildcard calls 2022-04-25 23:21:31 +02:00
tl-0000711.c - Explicit context variables overwrote the types of the closure's 2010-02-08 13:27:10 +00:00
tl-0000833.c Refill lexer input buffer in time after processing newline characters. 2015-02-06 13:41:08 +01:00
tl-0000843.c Revert "Better type deduction for runtime member lookups for structs" 2015-09-07 19:30:04 +02:00
tl-0000861.c Hide variables that are in initialization 2019-11-24 14:43:27 +01:00
tl-appliedlfun01.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun02.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun03.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun04.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun05.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun06.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun07.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun08.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun09.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun10.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun11.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun12.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun13.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun14.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun15.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun16.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun17.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun18.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun19.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun20.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun21.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-appliedlfun22.c Implemented checks for applied lfun conformity 2022-01-09 01:13:21 +01:00
tl-argtypes01.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes02.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes03.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes04.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes05.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes06.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes07.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes08.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes09.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes10.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes11.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes12.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes13.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes14.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes15.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes16.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-argtypes17.c Check varargs types on redefinition 2021-02-06 18:16:09 +01:00
tl-contextvars.c Fix crash when inserting context variables 2021-02-11 19:27:08 +01:00
tl-cpptrailingelif.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailingelse1.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailingelse2.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailingendif1.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailingendif2.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailingif.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailingifdef.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailingifndef.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailinginclude1.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailinginclude2.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailingline.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-cpptrailingundef.c Warn about trailing characters in all preprocessor statements 2021-01-25 14:14:36 +01:00
tl-deadcode1.c Added some control flow analysis for better diagnostics 2022-01-08 22:16:53 +01:00
tl-deadcode2.c Added some control flow analysis for better diagnostics 2022-01-08 22:16:53 +01:00
tl-deadcode3.c Added some control flow analysis for better diagnostics 2022-01-08 22:16:53 +01:00
tl-deadcode4.c Added some control flow analysis for better diagnostics 2022-01-08 22:16:53 +01:00
tl-deadcode5.c Added some control flow analysis for better diagnostics 2022-01-08 22:16:53 +01:00
tl-defaultvalues.c Fix detection of inherited prototypes with optional arguments 2025-07-07 22:12:22 +02:00
tl-defaultvalues2.c Fix freeze when saving default values in the wrong order 2022-01-08 22:16:53 +01:00
tl-defaultvalues3.c Fix out-of-bounds write on default values in prototypes 2022-01-08 22:16:53 +01:00
tl-defaultvalues4.c Fix detection of inherited prototypes with optional arguments 2025-07-07 22:12:22 +02:00
tl-defaultvalues5.c Fix detection of inherited prototypes with optional arguments 2025-07-07 22:12:22 +02:00
tl-floatmin.c Use sufficient precision for __FLOAT_MIN__ and __FLOAT_MAX__ 2021-03-30 18:42:11 +02:00
tl-foreach-vanishing.c Implement type checks for foreach 2020-09-30 17:14:02 +02:00
tl-inherit_double.c Rewrote the inherit handling (in preparation for issue #233). 2017-09-25 23:21:36 +02:00
tl-inherit_simple.c Rewrote the inherit handling (in preparation for issue #233). 2017-09-25 23:21:36 +02:00
tl-inherit_trampoline.c Rewrote the inherit handling (in preparation for issue #233). 2017-09-25 23:21:36 +02:00
tl-inherit_virtual_double.c Rewrote the inherit handling (in preparation for issue #233). 2017-09-25 23:21:36 +02:00
tl-inherit_virtual_double2.c Rewrote the inherit handling (in preparation for issue #233). 2017-09-25 23:21:36 +02:00
tl-inherit_virtual_mixed.c Rewrote the inherit handling (in preparation for issue #233). 2017-09-25 23:21:36 +02:00
tl-inherit_virtual_modifier1.c Revived redeclare_variable(). 2017-09-27 00:45:39 +02:00
tl-inherit_virtual_modifier2.c Revived redeclare_variable(). 2017-09-27 00:45:39 +02:00
tl-inherit_virtual_modifier3.c Revived redeclare_variable(). 2017-09-27 00:45:39 +02:00
tl-inherit_virtual_modifier4.c Revived redeclare_variable(). 2017-09-27 00:45:39 +02:00
tl-inheritedstruct.c Implement compile_string() efun 2022-08-06 14:02:12 +02:00
tl-late-function1.c Implement compile_string() efun 2022-08-06 14:02:12 +02:00
tl-late-function2.c Implement compile_string() efun 2022-08-06 14:02:12 +02:00
tl-missingreturn1.c Added some control flow analysis for better diagnostics 2022-01-08 22:16:53 +01:00
tl-missingreturn2.c Added some control flow analysis for better diagnostics 2022-01-08 22:16:53 +01:00
tl-missingreturn3.c Added some control flow analysis for better diagnostics 2022-01-08 22:16:53 +01:00
tl-multiple-context.c Fix handling of implicit context variables over several scopes 2020-04-28 22:35:40 +02:00
tl-operators.c Implemented Unicode support for operators and efuns. 2019-04-28 16:43:49 +02:00
tl-pragma_no_bytes_type.c Added pragma to disable new bytes type. 2019-04-28 16:43:50 +02:00
tl-private-struct-a.c Guard some tests against the absence of last_instructions() efun 2022-09-25 15:37:36 +02:00
tl-private-struct-b.c Guard some tests against the absence of last_instructions() efun 2022-09-25 15:37:36 +02:00
tl-private-struct2-a.c Guard some tests against the absence of last_instructions() efun 2022-09-25 15:37:36 +02:00
tl-private-struct2-b.c Guard some tests against the absence of last_instructions() efun 2022-09-25 15:37:36 +02:00
tl-private-structs-combined.c Guard some tests against the absence of last_instructions() efun 2022-09-25 15:37:36 +02:00
tl-private_proto.c Implement compile_string() efun 2022-08-06 14:02:12 +02:00
tl-public-private-structs-combined.c Guard some tests against the absence of last_instructions() efun 2022-09-25 15:37:36 +02:00
tl-public-private-structs-combined2.c Guard some tests against the absence of last_instructions() efun 2022-09-25 15:37:36 +02:00
tl-rttc-assign.c Implement runtime type checks for assignment operations like += 2021-03-09 16:25:49 +01:00
tl-rttc-foreach.c Implement type checks for foreach 2020-09-30 17:14:02 +02:00
tl-rttc-ob.c Implement named object types 2022-01-09 01:13:21 +01:00
tl-rttc-struct-creation.c Implement runtime type checks for struct creation 2022-05-02 20:49:52 +02:00
tl-rttc-struct.c Introduce type declaration for arbitrary structs 2022-02-19 14:50:10 +01:00
tl-rttc-warn-struct-creation.c Implement runtime type checks for struct creation 2022-05-02 20:49:52 +02:00
tl-rttc.c Check argument types against definition, not prototypes. 2015-09-13 01:41:12 +02:00
tl-std-structs.c Implement standard struct definitions for use in efuns 2022-09-22 22:17:24 +02:00
tl-struct-mixed-fun.c Introduce 'structs' modifier for inherit and default statement 2022-04-09 23:34:19 +02:00
tl-struct-mixed.c Allow accessing members of 'struct mixed' declared structs 2022-04-05 20:04:39 +02:00
tl-types.c Update tl-types.c test case for untyped functions 2016-07-08 00:11:36 +02:00
tl-unions.c Implement compile_string() efun 2022-08-06 14:02:12 +02:00
tl-unusedvalue1.c Warn about unused literal values 2022-01-09 21:22:34 +01:00
tl-unusedvalue2.c Warn about unused literal values 2022-01-09 21:22:34 +01:00
tl-varname-like-inherited-fun.c Implement compile_string() efun 2022-08-06 14:02:12 +02:00
tl-warnfloatbool1.c Warn about floats being used in a boolean context 2022-01-08 22:16:53 +01:00
tl-warnfloatbool2.c Warn about floats being used in a boolean context 2022-01-08 22:16:53 +01:00
tl-warnfloatbool3.c Warn about floats being used in a boolean context 2022-01-08 22:16:53 +01:00
tl-warnfloatbool4.c Warn about floats being used in a boolean context 2022-01-08 22:16:53 +01:00
tl-warnfloatbool5.c Warn about floats being used in a boolean context 2022-01-08 22:16:53 +01:00
tl-wildcard-call.c Fix crash during compilation of wildcard calls 2022-04-25 23:21:31 +02:00
tl-wildcard-empty-call.c Fix crash during compilation of wildcard calls 2022-04-25 23:21:31 +02:00