Skip to content
Unverified Commit 06b42949 authored by Steven Perron's avatar Steven Perron Committed by GitHub
Browse files

Validate uses of OpTypeFunction. (#1867)

In the specification of `OpTypeFunction`, it says

> OpFunction is the only valid use of OpTypeFunction.

This commit add a check in the validator for this rule.

A test started to fail because the new check happens before the check
the test case is testing.  Updated the test case to still fail the
check it was suppose to fail originally.

http://crbug.com/874571
parent d94a2077
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment