I simply want to create an array with stuff in it. Everything I try is an error message in mist. Even this code snippet I got straight from the docs wont compile:
uint someVariable;
uint[] data;
function f() {
uint[] x = data;
x.push(2);
}
}```