mirror of
https://github.com/golang/go
synced 2025-06-14 17:31:48 +00:00
- changed literal syntax to use the convert notation
- fixed issued with function declarations/function literals - added more tests and fixed existing tests SVN=118167
This commit is contained in:
@ -7,7 +7,8 @@
|
||||
package main
|
||||
|
||||
func main() {
|
||||
[ 0.,
|
||||
[]float(
|
||||
0.,
|
||||
+10.,
|
||||
-210.,
|
||||
|
||||
@ -66,5 +67,5 @@ func main() {
|
||||
0.0E123,
|
||||
+10.01e234,
|
||||
-210.012e345
|
||||
]
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user