Skip to content

Fix fixedbugs/bug180.go and fixedbugs/issue12133.go compiler panics. #298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 7, 2015

Conversation

dmitshur
Copy link
Member

@dmitshur dmitshur commented Sep 7, 2015

Fixes #297.

Handle types.UntypedInt value of types.BasicKind in fixNumber. Treat it like types.Int and types.Int32.

Update error message to be more readable.

Fixes #297.

Handle types.UntypedInt value of types.BasicKind in fixNumber. Treat it
like types.Int and types.Int32.

Update error message to be more readable.
@neelance
Copy link
Member

neelance commented Sep 7, 2015

LGTM

neelance added a commit that referenced this pull request Sep 7, 2015
Fix fixedbugs/bug180.go and fixedbugs/issue12133.go compiler panics.
@neelance neelance merged commit 67b6a97 into master Sep 7, 2015
@dmitshur dmitshur deleted the fix-fixedbugs/bug180.go branch September 7, 2015 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fixedbugs/bug180.go, fixedbugs/issue12133.go: Causes panic in fixNumber due to unhandled Basic.Kind value types.UntypedInt.
2 participants