Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Powershell nested expressions missing punctuation #1407

Closed
CoenraadS opened this issue Apr 25, 2018 · 1 comment
Closed

Powershell nested expressions missing punctuation #1407

CoenraadS opened this issue Apr 25, 2018 · 1 comment

Comments

@CoenraadS
Copy link

While($true){
    Write-Output "$($($InFiles | Where-Object {$_.ToCopy -eq 0}).count)"
                                                                      ^ Missing punctuation
}

Token output:

_.Token {type: "string", content: Array(3), alias: undefined, …}
alias:undefined
content:Array(3) [""", _.Token, ".count)""]
length:3
__proto__:Array(0) [, …]
0:"""
1:_.Token {type: "function", content: Array(18), alias: undefined, …}
2:".count)""
greedy:true
length:55
type:"string"
__proto__:Object {constructor: }
@Golmote
Copy link
Contributor

Golmote commented Apr 27, 2018

Thanks for reporting!

mAAdhaTTah added a commit that referenced this issue Jun 5, 2018
* gh-pages: (33 commits)
  Add double-class specificity hack (#1435)
  Moved tutorial link to the end of the list
  Make line-numbers styles more specific
  Fix mixed content warning
  Create CNAME
  Delete CNAME
  Update documentation for node & webpack usage
  Handle optional dependencies in `loadLanguages()` (#1417)
  Add `objectpascal` as an alias to `pascal` (see #1426)
  Add support for XQuery. Fix #1405 (#1411)
  Website: Fix Download page not handling multiple dependencies when from Redownload URL
  JSX: Add support for fragments short syntax. Fix #1421
  Support for Template Toolkit 2 (#1418)
  ASP.NET should require C#
  Run gulp
  Move guard into conditional and check for language
  Don't process language if block language not set
  JSX: Allow for two levels of nesting inside JSX tags. Fix #1408
  Add missing reference to issue in specific test.
  Powershell: Allow for one level of nesting in expressions inside strings. Fix #1407
  ...

# Conflicts:
#	components/prism-kotlin.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants