Skip to content

x/website: Playground snippet fails at page load "expected 'package', found Loading" #53065

@Deleplace

Description

@Deleplace

What is the URL of the page with the issue?

https://go.dev/play/p/Z0qYLaaDzyL

What is your user agent?

[Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36](https://developers.whatismybrowser.com/useragents/parse/?analyse-my-user-agent=yes)

That was Chrome, but the same bug was observed with Firefox.

Screenshot

image

What did you do?

Open https://go.dev/play/p/Z0qYLaaDzyL in my web browser

What did you expect to see?

No error

What did you see instead?

prog.go:1:1: expected 'package', found Loading

Go build failed.

More info

This does not seem specific to my browser (tried 2 browsers).

This does not seem specific to my snippet URL (tried other snippets, e.g. https://go.dev/play/p/2DClKGAIhmz ).

The problem occurs as soon as the web page loads, before I do any action.

Subsequently clicking the [Run] button works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.website

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions