dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

dangling_decls.go (352B)


      1 package main
      2 
      3 var foo =
      4 // hello
      5 123
      6 
      7 var foo = 123 +
      8 	// hello
      9 	123
     10 
     11 const foo =
     12 // hello
     13 123
     14 
     15 const foo = 123 +
     16 	// hello
     17 	123
     18 
     19 type foo =
     20 // hello
     21 int
     22 
     23 func main() {
     24 	var foo =
     25 	// hello
     26 	123
     27 
     28 	var foo = 123 +
     29 		// hello
     30 		123
     31 
     32 	const foo =
     33 	// hello
     34 	123
     35 
     36 	const foo = 123 +
     37 		// hello
     38 		123
     39 
     40 	type foo =
     41 	// hello
     42 	int
     43 
     44 	foo :=
     45 		// hello
     46 		123
     47 }