Skip to content
#

language

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

cameel
cameel commented Jun 14, 2022

Description

Function selectors can be used to initialize constants while error and event selectors (recently introduced in #12921) are rejected as non-constant. I think that all of them should work the same way in that regard.

Steps to Reproduce

contract C {
    event Ev();
    error Er();
    function f() external {}

    bytes4 constant functionSelector = this.f.se
bug 🐛 good first issue language design :rage4: difficulty: medium
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
dom96
dom96 commented May 10, 2022

I expected ? to not overwrite the query, but to merge. The docs of the proc use the word "concatenate" which implies that this is how the proc should work, but the implementation overwrites the query instead of concatenating.

Example

import uri
let foo = parseUri("https://google.com/?page=10")
echo(foo ? {"test": "42"})

Current Output

https://google.com/?t
coolreader18
coolreader18 commented Apr 21, 2021

See e.g. #2570. Some of the unit tests there with "wrong error message" should be somewhat easy to fix - just correct the error message we have to match CPython's. Others might be trickier, since you'll need to add diagnostics to recognize bad syntax and give a more detailed error than "unexpected token". Also, I think around half of them could be fixed just by adding "invalid syntax" in the messa

good first issue
tech-interview-for-developer

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 Jun 12, 2022
  • Red

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