You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
Run the following test:
f() {
static localFunction() {}
}
main() {
f();
}
What is the expected output? What do you see instead?
Expected: compile-time error
Actual: static warning: no such type "static"
What version of the product are you using? On what operating system?
dartc r2810, Ubuntu 10.04
Please provide any additional information below.
The Language Specification in the section 6.1 states: "It is a compile-time error to preface a function declaration with the built-in
identifier static."
The text was updated successfully, but these errors were encountered:
This issue was originally filed by [email protected]
What steps will reproduce the problem?
Run the following test:
f() {
static localFunction() {}
}
main() {
f();
}
What is the expected output? What do you see instead?
Expected: compile-time error
Actual: static warning: no such type "static"
What version of the product are you using? On what operating system?
dartc r2810, Ubuntu 10.04
Please provide any additional information below.
The Language Specification in the section 6.1 states: "It is a compile-time error to preface a function declaration with the built-in
identifier static."
The text was updated successfully, but these errors were encountered: