language
Here are 3,237 public repositories matching this topic...
-
Updated
Mar 22, 2020 - Ruby
This came up for fixes to svg-gradient() (less/less.js#3261). There are no automated visual regression tests, so it might be good to do so for functions that create visual assets. See: https://github.com/garris/BackstopJS
V version: 0.1.24 5c6032d
OS: Linux 5.4.11_1 #1 SMP PREEMPT i686 GNU/Linux; voidlinux (glibc)
What did you do? Run the code from docs/doc.md line 309-312 in a fresh repl:
mut m := map[string]int
m['one'] = 1
m['two'] = 2
println(m['one'])
What did you expect to see?
1
What did you see instead?
tmV error: C error. This shoul
- https://crystal-lang.org/api/master/File.html
- Click on either
.new/.openconstructors - Notice you don't get taken to the detail section of those methods
Seems to be caused by escaping the " for the id of the element. mode="r", doesn't match the anchor value of mode="r".
-
Updated
Mar 19, 2020 - JavaScript
The callable constructor proposal was withdrawn because "the same problems can be solved with decorators" but the readme here doesn't show examples of that. Can you please update that for reference? It would be really helpful.
-
Updated
Mar 18, 2020
For a university school project I will be making some edits to your documentation which will aim to make writing more technical
Please add edits if you would like :)
It seems there is a different raises behaviour for newTerminal()
Example
import terminal
proc test() {.raises:[IOError, ValueError].} =
setBackgroundColor(stdout, bgRed)
test()This will compile on Linux, but not on Windows. Error:
C:\Users\deme\repos\getterminalraises.nim(3, 22) templa
opened to replace #4223
In the version deployed at http://play.witheve.com/#/examples/quickstart.eve the hover text for sidebar expand/collapse button is reversed. Look through the repo for the offending code but could not find it.
Dart SDK Version: 2.7.0, dart:async library
The dartdoc of scheduleMicrotask (*1) refers to an article (*2) saying: "Learn how Dart handles the event queue and microtask queue,". That link (*2) gets redirected to an article that does not mention anything about microtasks.
*1: https://api.dart.dev/stable/2.7.0/dart-async/scheduleMicrotask.html
*2: https://www.dartlang.org/articles/event-l
Describe the bug
>> i: make image! 2x2
== make image! [2x2 #{FFFFFFFFFFFFFFFFFFFFFFFF}]
>> i/alpha
== #{00000000}
>> i/alpha: 1 i/alpha
== #{01010101}
>> i/alpha: -1 i/alpha
== #{FFFFFFFF} ;) expected #{00000000}
>> i/alpha: 255 i/alpha
== #{FFFFFFFF}
>> i/alpha: 256 i/alpha
== #{00000000} ;) expected #{FFFFFFFF}
Expected behavior
Alpha val
The embedding example in the documentation suggests to run the code "System.print("I am running in a VM!")" which does not print anything because the vm was not configured with a print function.
Suggesting the user to provide a print/error function would make things clearer.
Documentation Parser
Summary
Luna syntax parser reads source files and outputs an AST (Abstract Syntax Tree). Currently, all the comments are read as a single token (a text). We need to create a separate parser which will consume the comment text and will return a Comment-AST.
Value
We will be then able to traverse comments structure and nicely display them in the documentation and interactive help.
So currently the doc for EReg.matched says this:
The index
ncorresponds to the n-th set of parentheses in the pattern
ofthisEReg. If no such sub-group exists, the result is unspecified.
But it's not immediately clear what "no such sub-group exists" means exactly. I assume it means that the group was not defined in the regex. But it's a bit confusing in case the group was define
When generating documentation for modules that internally use foreach (which as of #656 emits gensyms) we encounter errors related to some internal macro code. The error message always reads as follows:
carp: Unhandled binder: XObj {obj = Lst [XObj {obj = DefDynamic, info = Nothing, ty = Nothing},XObj {obj = Sym RESP.*gensym-counter* Symbol, info = Nothing, ty = Nothing},XObj {obj = Nu
It seems configurations for proselint are centralized to different canonical files (namely $XDG_CONFIG_HOME/proselint/config, ~/.config/proselint/config and ~/.proselintrc) instead of a per project config basis.
So may I ask how to specify project/folder/files-specific rules? Maybe including some examples in the README.md would be nice?
Thanks
-
Updated
Sep 14, 2019 - C
-
Updated
Mar 19, 2020 - JavaScript
Describe the bug
The Unity usage example assumes that user has Rantionary.rpkg file in assets/resources folder but there is no step by step information on how to import those and from what source.
The Rant3.zip from github doesn't contain said file.
To Reproduce
Steps to reproduce the behavior:
- Follow the Running in Unity tutorial
- Run the example in Unity
- See the erro
-
Updated
Sep 20, 2018
When compiling to Python with target set to any version above 3.x the type hints for functions and variables get wrapped in single quotes. This breaks functionality with some libraries which rely on type hints such as pydantic.
I first noticed it with Coconut: Version 1.4.1 [Ernest Scribbler] running on Python 3.7.4 but tested it out on the online interpreter with Python 3.3 3.4 3.5 and
The docs on Built in Functions should include an example in the description of each function. These examples should also be included in the test suite so that if any syntax changes, we know to update the documentation as well.
I've been trying to get logging to work in a C++ exe and inside a dll.
The documentation here says this is possible, but I can't get it to work.
https://github.com/zuhd-org/easyloggingpp#sharing-logging-repository
The Samples show a comment indicating that a "Shared Logging" sample has been removed from the VC++ folder.
?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env)?go envOutput