programming-language
Here are 5,477 public repositories matching this topic...
-
Updated
May 17, 2022 - Kotlin
-
Updated
May 16, 2022
-
Updated
May 17, 2022 - V
-
Updated
May 11, 2022 - JavaScript
-
Updated
Mar 24, 2022 - TypeScript
Description
Suppose I try to compile the following contract:
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract Repro {
function run() public pure returns (string memory) {
return "¡¡¡";
}
}
I get the following error message:
ParserError: Invalid character in string.
--> project:/contracts/Repro.sol:6:12:
|
6 | return "¡¡
-
Updated
May 9, 2022 - Python
-
Updated
Apr 15, 2022 - Perl
-
Updated
Mar 12, 2022 - Python
-
Updated
Mar 24, 2022 - OCaml
-
Updated
May 17, 2022 - Dart
-
Updated
Mar 20, 2018 - TypeScript
-
Updated
May 11, 2022
-
Updated
May 15, 2022 - JavaScript
-
Updated
May 17, 2022 - TypeScript
primitive A
primitive B
actor Main
new create(env: Env) =>
let bad = Generic[(A | B)].get()
env.out.print(match bad
| let _: A => "D"
| let _: B => "B"
end)
interface val Default
new val create()
class Generic[T: (Default val | None val)]
let x: T = T.create()
fun get(): T =>
x
https://playground.ponylang.io/?gist=60bfbb2f304c0ad519cf0d68dc9
-
Updated
May 17, 2022 - Go
-
Updated
May 17, 2022 - Haxe
-
Updated
May 17, 2022 - Red
-
Updated
May 13, 2022 - Go
-
Updated
May 17, 2022 - Java
-
Updated
Apr 22, 2022
I believe that the patch
command accepts an optional patch argument, but it isn't described in help patch
:
patch
`patch` rewrites any definitions that depend on definitions with type-preserving edits to use the
updated versions of these dependencies.
Motivation
The Git class currently doesn't support submodules which prevents for example using submodules in Quark repos.
Description of Proposed Feature
Add a submodule method to Git
and add submodule recursion to the Quark
install step, eg adding the --recurse-submodules
git flag to the clone command. This will download an
-
Updated
Sep 18, 2021 - C
Found this last night, unfortunately it makes gleam_javascript unusable on the current version at the moment.
pub external fn then(a) -> b = "./ffi.js" "then"
generates
import { then } from "./browser_ffi.js";
export { then$ };
I think this is something to do with keyword escaping not being handled properly.
-
Updated
Apr 29, 2022 - JavaScript
// JavaScript
const answer = window.prompt("What's your name?","");
const greeting = answer === null ? "How rude!" : answer ? `Hello, ${answer}!` : "I'll call you Darth";
alert(greeting);
// Mint
sequence {
greeting = sequence {
answer = Window.prompt("What's your name?","")
if(answer == ""){
"I'll call you Darth" // Never happens
} else
Improve this page
Add a description, image, and links to the programming-language topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the programming-language topic, visit your repo's landing page and select "manage topics."
https://github.com/JuliaLang/julia/blob/3cff21e725097673f969c19f8f0992c9a0838ab3/base/arrayshow.jl#L584
Seems the following change is reasonable: