Added warning for foo$n=42
Added error for ${foo$n}