Skip to content

ParseTemplateAndGetArgumentNames is broken #70

Description

@AndrewSav

Many years ago, I asked for ParseTemplateAndGetArgumentNames and my wish was granted. However somewhere along the way it got broken.

Steps to reproduce:

	 foreach( var a in TemplateParser.ParseTemplateAndGetArgumentNames("#{a.b.c}"))
	 {
	 	Console.WriteLine(a);
	 }

What I'm expecting to see:

a.b.c

What I'm actually seeing:

a
b
c

The templating engine still correctly treats a.b.c as a single var, but ParseTemplateAndGetArgumentNames regressed somewhere and returns wrong result.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions