no :: in func decls
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import "../math"
|
||||
|
||||
used_here :: func() int {
|
||||
used_here func() int {
|
||||
return math.value
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
not_imported_here :: func() int {
|
||||
not_imported_here func() int {
|
||||
return math.value
|
||||
}
|
||||
|
||||
main :: func() void {
|
||||
main func() void {
|
||||
_ = used_here()
|
||||
_ = not_imported_here()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user