Skip to content

BUG  #1

Description

@Droppix

Hi,

I have a problem with access to my variable (2016.s) :(below my code)
I think the key 2016 interpreted as a number and not a string.
`
NSString *input = @"{{2016.s}}";
id vars = @{@"2016": @{ @"s" : @123.45}};

NSError *err = nil;
BOOL success = [eng processTemplateString:input withVariables:vars toStream:stream error:&err];
Error Domain=PEGKitErrorDomain Code=1 "TDTemplateEngineErrorDomain" UserInfo={NSLocalizedDescription=TDTemplateEngineErrorDomain, range=NSRange: {9223372036854775807, 0}, lineNumber=0, NSLocalizedFailureReason=Error while compiling print node expression2016.s`
Expected : «EOF»
Line : 1
}

Have you a solution?

Thanks

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions