about summary refs log tree commit diff stats
path: root/033exclusive_container.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-02-15 12:43:51 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-02-15 12:43:51 -0800
commitcf36334305b82dc36f7a2423382ccd8b21bb4eae (patch)
tree280f183da5a2d1d1d7ab97c4fc9c9ad4494cb2c3 /033exclusive_container.cc
parentc36eb25ca3ac555ba7c27796e0ba84a7de696be4 (diff)
downloadmu-cf36334305b82dc36f7a2423382ccd8b21bb4eae.tar.gz
2659 - disallow dynamic arrays in recipes
The rule is: every 'local' variable in a recipe must have a fixed size.
Arrays can only be directly used in a recipe if their type includes a
size. But we haven't been warning about this, and attempts to use array
variables could cause silent memory corruption.

(Hopefully this is the last hole in our type system.)
Diffstat (limited to '033exclusive_container.cc')
0 files changed, 0 insertions, 0 deletions