METHODS TO SUPPORT MULTIMETHOD FUNCTION OVERLOADING WITH COMPILE-TIME TYPE CHECKING
Patent №
US 5,488,727
Granted
1996-01-30
Filed 1991
Owner
INTERNATIONAL BUSINESS MACHINES CORPORATION
Lab
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
07771376
Methods and related apparatus, for use in programming language systems, are set forth which support compile-time type checking for overloaded functions in an environment supporting subtypes with multiple inheritance. At both compile and runtime, the invention considers the type of all actual arguments of a function to select a proper function instance to execute. Furthermore, the methods contemplated by the invention identify at compile time the set of function instances which might be invoked due to subtype substitutions for the actual arguments. Since type errors on function invocations or variable assignments are usually indicative of a programming error, program reliability can be improved and faults that would otherwise result in runtime errors can be corrected through the use of the invention prior to program deployment.
AI classification
Ownership
INTERNATIONAL BUSINESS MACHINES CORPORATION
assignment · 58710954
Assignors
AGRAWAL, RAKESH, DE MICHIEL, LINDA G., LINDSAY, BRUCE G.
On an employer assignment, the assignors are typically the inventors.