aptos-core
aptos-core copied to clipboard
[Bug][vm] Function types allowed as parameters even if feature is not enabled
trafficstars
It appears the following code can be published even if function types are not enabled:
fun transfer_and_create_account(some_f: |u64|u64): u64 {
some_f(3)
}
Note that this only happens in the testing environment
Closing as something that can only happen with the wrong test setup.