aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-03-22 07:42:24 +0100
committerBjörn Gustavsson <[email protected]>2019-03-25 09:58:58 +0100
commitf3293ecdb3c223ec10babbbf26569e00f89ae28d (patch)
treec997b65462962ce68f360d479a18dc3ed0ab5661 /lib/compiler/test
parentafe49ef2610b597f172e0fcc0c2b7b3f110bb7b4 (diff)
downloadotp-f3293ecdb3c223ec10babbbf26569e00f89ae28d.tar.gz
otp-f3293ecdb3c223ec10babbbf26569e00f89ae28d.tar.bz2
otp-f3293ecdb3c223ec10babbbf26569e00f89ae28d.zip
sys_core_fold: Simplify case_expand_var/2
5239eb0c62a9 stopped storing patterns that a variable has matched. The only tuples that are stored in the type database are tuples that have been previously constructed. Therefore, the code in sys_core_fold:case_expand_var/2 and friends that converts a tuple pattern to a tuple construction can be simplified to used the stored tuple directly.
Diffstat (limited to 'lib/compiler/test')
0 files changed, 0 insertions, 0 deletions