The function Sqrt in package math doesn't trigger under the following code:
package main
import (
"fmt"
"math"
)
func main() {
alpha := []int{1, 3, 4}
x := float64(alpha[0]) * math.Sqrt(2.0)
fmt.Printf("%v\n", x)
}
although the code compiles and runs successfully.
Intellisense doesn't trigger in Go.
Just to confirm the bug you are seeing:
This is definitely a bug
I will look to get this fixed for the next beta.
Thanks for the bug report.
Cheers Jussi
Code: Select all
func main() {
alpha := []int{1, 3, 4}
x := float64(alpha[0]) * math.
^
this fails to trigger **
math.
^
this triggers just fine **
}
This is definitely a bug

I will look to get this fixed for the next beta.
Thanks for the bug report.
Cheers Jussi
This bug has been fixed in the latest Zeus release.
The full installer for the new beta is found here: http://www.zeusedit.com/download.html
Cheers Jussi
The full installer for the new beta is found here: http://www.zeusedit.com/download.html
Cheers Jussi