Skip to content

Error for missing anchor (unidentified alias) broken since 1.0 #1098

@vtcifer

Description

@vtcifer

Describe the bug

If you make use of an alias which has no corresponding anchor, this extension used to provide an error (version 0.23 and before).
Since version 1.0 and beyond, no error is generated.

Expected Behavior

An error should be listed in the 'Problems' window.

Version 0.23:

Image

Current Behavior

No error is generated.

Image

Steps to Reproduce

  1. Set yaml.yamlVersion to 1.1.
  2. Create a yaml file with the following content:
bar: *bar
baz: 
  <<: *baz

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

Metadata

Metadata

Labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions