Commit c715b58d authored by Russ Cox's avatar Russ Cox

gc: fix import name resolution

Fixes #403.

R=ken2
https://golang.org/cl/180052
parent 8e2608ec
...@@ -195,7 +195,7 @@ import_stmt: ...@@ -195,7 +195,7 @@ import_stmt:
} }
my->def = pack; my->def = pack;
my->lastlineno = $1; my->lastlineno = $1;
import->block = 1; // at top level my->block = 1; // at top level
} }
......
// $G $D/$F.go
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import p "fmt"
var _ = p.Print
var fmt = 10
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment