Skip to content
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

Parse error (TypeError): ksyType.instancesByJsName is undefined #145

Open
Mingun opened this issue Sep 1, 2022 · 0 comments
Open

Parse error (TypeError): ksyType.instancesByJsName is undefined #145

Mingun opened this issue Sep 1, 2022 · 0 comments

Comments

@Mingun
Copy link

Mingun commented Sep 1, 2022

I have the following KEY in my local storage in WebIDE:

meta:
  id: int
  encoding: ASCII
types:
  int:
    -webide-representation: "{value:dec}"
    seq:
      - id: raw
        type: str
        size-eos: true
    instances:
      value:
        value: raw.to_i
  hex:
    -webide-representation: "{value:dec}"
    seq:
      - id: raw
        type: str
        size-eos: true
    instances:
      value:
        value: raw.to_i(16)

When I double-click it the following error is thrown to the Errors pane:

Parse error (TypeError): ksyType.instancesByJsName is undefined
Call stack:

This is not happened when I double-click any other KSY, for example, default zip.ksy from the gallery. This happens both on a devel and a stable WebIDE

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

No branches or pull requests

1 participant