Skip to content

(VB.Net) Doesn't highlight date literals e.g. #7/26/1970# #2775

@Greedquest

Description

@Greedquest

Describe the issue
Date literals are not highlighting correctly

Which language seems to have the issue?
VB.Net (and Stack Overflow uses VB.Net to highlight VBA and VBscript as well, which have the same syntax and so same problem)

Are you using highlight or highlightAuto?
Not using auto detection, using language tags
...

Sample Code to Reproduce

Sub TestDateLiteral()
    Dim Anne As Person, Bill As Person
    Set Anne = Person.Factory("Anne", "F")                  'No Date Literal
    Set Bill = Person.Factory(#7/26/1970#, "Bill", "M")     'With Date Literal
End Sub

https://jsfiddle.net/waz4fLxd/2/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions