godot/modules
George Marques 1ebcb58e69
GDScript: Check if method signature matches the parent
To guarantee polymorphism, a method signature must be compatible with
the parent. This checks if:

1. Return type is the same.
2. The subclass method takes at least the same amount of parameters.
3. The matching parameters have the same type.
4. If the subclass takes more parameters, all of the extra ones have a
default value.
5. If the superclass has default values, so must have the subclass.

There's a few test cases to ensure this holds up.
2022-03-06 11:16:20 -03:00
..
basis_universal Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
bmp
bullet Always register the Smooth Trimesh Collision project setting 2022-03-02 18:49:34 +01:00
camera [macOS] Enable Objective-C ARC 2022-02-01 15:58:30 +02:00
csg Convert _notification methods to switch - Chunk C 2022-02-16 13:03:05 -05:00
cvtt Faster CVTT by reducing quality. 2022-02-04 15:15:26 -08:00
dds
denoise
enet Add an XML schema for documentation 2022-02-15 00:03:31 +01:00
etcpak
fbx Use Filament specular models and parametrization 2022-02-22 19:39:41 -08:00
freetype
gdnative Core: Use forward declares for Vector3/Vector3i 2022-02-19 16:47:24 +01:00
gdscript GDScript: Check if method signature matches the parent 2022-03-06 11:16:20 -03:00
glslang
gltf glTF export for new TYPE_BLEND_SHAPE tracks 2022-03-03 05:28:00 -08:00
gridmap Remove unimplemented set_clip() method 2022-03-02 00:44:30 +01:00
hdr
jpg
jsonrpc
lightmapper_rd RendererRD: Remove binding specifier for push constants 2022-02-11 18:42:32 +01:00
mbedtls
meshoptimizer Improvements and fixes to occluders 2022-02-07 13:04:51 +01:00
minimp3 Add an XML schema for documentation 2022-02-15 00:03:31 +01:00
mobile_vr Add an XML schema for documentation 2022-02-15 00:03:31 +01:00
mono Refactor bbcode_to_xml into multiple specific methods 2022-03-03 23:35:10 +01:00
msdfgen
navigation Core: Use forward declares for Vector3/Vector3i 2022-02-19 16:47:24 +01:00
ogg Merge pull request #58130 from timothyqiu/ogg-seek-crash 2022-02-16 20:14:31 -08:00
opensimplex Add an XML schema for documentation 2022-02-15 00:03:31 +01:00
openxr Fix color issues with OpenXR 2022-02-28 13:02:03 +11:00
raycast Improvements and fixes to occluders 2022-02-07 13:04:51 +01:00
regex Add an XML schema for documentation 2022-02-15 00:03:31 +01:00
squish
svg
text_server_adv HarfBuzz: Update to version 4.0.0 2022-03-02 10:48:37 +02:00
text_server_fb Merge pull request #57877 from bruvzg/subpixel_gl_pos 2022-02-15 13:58:38 +01:00
tga
theora Add an XML schema for documentation 2022-02-15 00:03:31 +01:00
tinyexr
upnp Add an XML schema for documentation 2022-02-15 00:03:31 +01:00
vhacd
visual_script Sort variables in VisualScriptEditor 2022-02-24 21:18:02 +01:00
vorbis Merge pull request #35679 from Calinou/doc-add-xml-schema 2022-02-15 13:14:58 +01:00
webp
webrtc WebRTC: Fix potential nullptr dereference in error message 2022-03-04 16:02:40 +01:00
websocket Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
webxr Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
xatlas_unwrap Add sanity checks to lightmap unwrap texel size 2022-02-24 13:00:51 +01:00
modules_builders.py SCons: Improve logic to generate modules_tests.gen.h 2022-02-08 13:01:35 +01:00
register_module_types.h
SCsub SCons: Improve logic to generate modules_tests.gen.h 2022-02-08 13:01:35 +01:00