Skip to content
#

language

Here are 4,730 public repositories matching this topic...

langren1353
langren1353 commented Oct 10, 2021

When useing TamperMonkey or GreaseMonkey with less.js as a @require resource, sometimes there will be an error.
I trace the code found a small problem.
At https://github.com/less/less.js/blob/master/packages/less/src/less-browser/utils.js
function addDataAttrs param tag may be null, then the script will exec failed.
A short if may fix this, will you please add the code to check if tag is

hrkrshnn
hrkrshnn commented Oct 4, 2021

Looking at the list of Yul transformations in the documentation, I noticed a few slight differences between the list at https://docs.soliditylang.org/en/latest/yul.html#optimization-step-sequence and the list at https://docs.soliditylang.org/en/latest/internals/optimizer.html#optimizer-steps:

  • In the second list, change FunctionalInliner to ExpressionInliner, just like in the first list.
Nim
DimitrisJim
DimitrisJim commented Oct 14, 2021

Currently, sets are not handled in comparisons with dict views:

In Python:

>>> d = {1: 2}
>>> d.keys() == set([1])
True

while in RustPython:

>>>>> d = {1: 2}
>>>>> d.keys() == set([1])
False

In CPython, the corresponding implementation (dictview_richcompare) calls another function that iterates through the view and continuously calls `__contains

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 Oct 15, 2021
  • 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