Skip to content

Generic view rules (view rules using ?) appear to not work with odin types #517

@SaculRennorb

Description

@SaculRennorb

According to the patch notes, and mentioned in #345, ? should be usable as a placeholder within type patterns for view rules. From the linked issue it looks like this should also work without surrounding triangle brackets.

I am not able to get this to work for to match `[]program::Type`, which is roughly equivalent to std::slice<program::Type> in cpp.
What i've tried:

  • []?
  • `[]?`
  • []program::?
  • `[]program::?`

none of which appear to match.

Note that using `[]program::Type` as the pattern does match properly, and works as expected, its just the generic version that fails to match such types.

I am using alpha 19

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA report of unintended or broken behavior.DebuggerPertains to the debugger.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions