diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-02-15 12:43:51 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-02-15 12:43:51 -0800 |
commit | cf36334305b82dc36f7a2423382ccd8b21bb4eae (patch) | |
tree | 280f183da5a2d1d1d7ab97c4fc9c9ad4494cb2c3 /074random.cc | |
parent | c36eb25ca3ac555ba7c27796e0ba84a7de696be4 (diff) | |
download | mu-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 '074random.cc')
0 files changed, 0 insertions, 0 deletions