Skip to content
#

language

Here are 5,443 public repositories matching this topic...

sandersn
sandersn commented Jun 29, 2022

As explained in microsoft/TypeScript#2548, the following code is not correct when useDefineForClassFields: false, which is the default for targets before ES2021.

const x = 1
class C {
    p = x
    constructor(x: string) { }
}

However, when useDefineForClassFields: true, there shouldn't be an error here.

Expected: No error 2301 on `private p =

Bug Good First Issue
axic
axic commented Jun 28, 2022

Whiskers' regex looks for <..> as opposed to tokenizing the input, so it is not able to detect truncated/mistyped input.

For example it can't detect that <!b is not terminated in<?b> X <!b Y </b>.

With some heuristics it could be improved: match for <?, <! and </ and only allow identifiers which are terminated with >, otherwise it is invalid.

_Originally posted by @axic in h

legu2009
legu2009 commented Nov 26, 2020

I'm Writing a ThemeColor Plugin, use Visitor.

In fn:visitColor , node.parent sometimes is null (box-shadow:0 0 0 1px #999 inset). I can't find the parent Declaration Node of Color Node.
so I want to [less.js/lib/less/visitors/visitor.js Visitor.prototype.visit](https://github.com/less/less.js/blob/0e268598c8327b9e8d36d9bb2edfde95d8d787be/packages/less/src/less/visitors/visitor.js

Nim
quantimnot
quantimnot commented Jun 25, 2022

I can't find any documentation or thorough tests of the path substitution performed by compiler/options/pathSubs.

From looking at the code, these are the substitutions:

  • $nim: global nim prefix directory path
  • $lib: stdlib directory path
  • $home: user's home directory path
  • $config: I think this is the directory path to the either the nimscript calling
    `compiler/options/path
tech-interview-for-developer
jiriboy
jiriboy commented Jul 7, 2022

안녕하세요

자료 보면서 공부하다가 counting sort 코드가 이상한 부분이 있어서 수정했습니다

  1. 과정 3에서 누적합을 만들어줄 때 arr.length -> counting.length
  2. 과정 4에서 다시 sorted_arr에 넣어줄 때 인덱스가 counting[arr[i]] -> counting[arr[i]] - 1

좋은자료 항상 감사합니다 :)

good first issue

Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file!

  • Updated Jul 4, 2022
  • Red
melvyn2
melvyn2 commented May 30, 2022

Having a callback for when the selected element is changed would be useful, for similar reasons to TextEdit/LineEdit: validation, updating buffers, or the rest. I imagine that it would be something like selected(int) with int being the index, though LineEdit emits a simple callback without arguments so there may be a tradeoff I'm missing (an int should be easier to pass around on the oth

good first issue

Improve this page

Add a description, image, and links to the language topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the language topic, visit your repo's landing page and select "manage topics."

Learn more