-
Updated
Jul 17, 2020 - JavaScript
Compiler
Compilers are software that translate higher-level (more human readable) programming languages to lower-level languages (e.g. machine code). The processor executes machine code, which indicates when binary high and low signals are required in the arithmetic logic unit of the processor. Examples of compiled languages include BASIC, Fortran, C++, C, and Java.
Here are 4,532 public repositories matching this topic...
#![forbid(unused_qualifications)]
#[derive(Clone)]
pub struct S;error[E0453]: allow(unused_qualifications) overruled by outer forbid(unused_qualifications)
--> src/main.rs:3:10
|
1 | #![forbid(unused_qualifications)]
| --------------------- `forbid` level set here
2 |
3 | #[derive(Clone)]
| ^^^^^ overruled by previous forbid
All bu
Summary
Our docs relating to GraphQL sometimes have CodeSandbox samples where viewers can edit their query. However, these pages are represented in the markdown as raw iframes and are quite ugly:
<iframe title="A basic query" src="https://7118
🐛 bug report
loadConfig should emit a codeframe on a parse error:
This is for example used for loading .postcssrc.
🤔 Expected Behavior
See screenshot in parcel-bundler/parcel#4420
😯 Current Behavior
With an invalid `.p
Describe the bug
The content of the the svelte file is a large HTML chunk, withouy any script logics or styling being involved. Max stack size exceeded error while compiling.
To Reproduce
https://svelte.dev/repl/a9dfcc17551c4aeb95e8fe748a97061d?version=3.20.1
Expected behavior
Compiling should not break
Information about your Svelte project:
Svelte 3.20.1, Rollup, Wind
-
Updated
Jul 17, 2020 - Kotlin
-
Updated
Jul 15, 2020 - JavaScript
Example ( JSON decoding/encoding ):
Returns:
You just found a bug. V can't compile this program, but it should. Please create a GitHub issue.
Solution: ?
fn main() { age = 21 }
Using Run works perfectly.
But all other examples like Strings, ...
name := 'Bob' println('Hello, $name!') // $` is used for strin
-
Updated
Jun 8, 2020 - C++
-
Updated
Feb 12, 2020 - Java
-
Updated
Jul 16, 2020 - Go
sizeof doesn't work for types that store Atomics. This would be useful to size the memory buffer for thread-safe memory allocators with what is left from the synchronization primitives.
import std/atomics
type
Node = ptr object
# works
next: Atomic[pointer]
MyChannel = object
# type not defined completely
back: Atomic[ptr int]
static:
echo sizeof(NThe documentation for reflect.DeepEqual makes no mention of panic'ing: https://golang.org/pkg/reflect/#DeepEqual
In this example it panics:
println(fmt.Sprintf("fieldVal %T %v", fieldVal, fieldVal))
println(fmt.Sprintf("Zero %T %v", reflect.Zero(reflect.TypeOf(fieldVal)).Interface(), reflect.Zero(reflect.TypeOf(fieldVal)).Interface()))
reflect.DeepEqual(fieldVal, reflect.Zero(reflect.T
-
Updated
Jul 17, 2020 - TypeScript
-
Updated
Jul 17, 2020 - WebAssembly
-
Updated
Jul 17, 2020 - Rust
-
Updated
Jul 17, 2020 - Python
-
Updated
May 29, 2020 - JavaScript
-
Updated
May 28, 2020
-
Updated
Jul 17, 2020 - OCaml
-
Updated
Jun 10, 2019 - JavaScript
Bug report
Describe the bug
When running next using Yarn 2 and visiting a page in the browser that doesn't exist, the 404 error page never shows up. Instead it loads forever ("waiting on localhost...") and then eventually errors with
ERR_EMPTY_RESPONSE.But the terminal shows that the page was compiled: