Reproduction Steps
Assigning any callback to a non function and non nil value will reveal this issue.
Example:
local b = Instance.new"BindableFunction"
b.OnInvoke = 1
print"---"
print(pcall(b.Invoke,b))
Expected Behavior
The expected result of assigning a non function and non nil value to a callback property is an error.
Actual Behavior
Upon running the example code in the command line:
https://i.gyazo.com/5735ef95c3c25841719ae8a6f6b3563f.png
No error is generated from the assignment to OnInvoke, but Invoke errors because a non function and non nil value is set for OnInvoke.
Issue Area: Engine
Issue Type: Other
Impact: Low
Frequency: Very Rarely