This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-01
Channels
- # announcements (7)
- # beginners (30)
- # boot (6)
- # calva (24)
- # cider (8)
- # clj-kondo (8)
- # cljs-dev (16)
- # cljsrn (8)
- # clojure (60)
- # clojure-italy (19)
- # clojure-mexico (6)
- # clojure-nlp (2)
- # clojure-uk (11)
- # clojurescript (36)
- # datomic (11)
- # hoplon (1)
- # juxt (2)
- # kaocha (1)
- # keechma (13)
- # nrepl (1)
- # off-topic (51)
- # reagent (7)
- # rewrite-clj (17)
- # robots (7)
- # shadow-cljs (2)
- # sql (4)
- # testing (1)
- # tools-deps (11)
- # vim (12)
hi there, I was directed here from #clojurescript when I asked this question
> Heya, apologies if this is a silly question, but how does issue reporting work for ClojureScript? > https://clojurescript.org/community/reporting-issues says that issues should be reported on http://dev.clojure.org/jira/browse/CLJS > But it doesn't seem possible to comment or create issues there without an account. If an account is needed, how does one go about obtaining it?
@gklijs mentioned that I can probably ask for an account here
I'd like to contribute to some of the issues in the issue tracker
there are good ways of compiling classes, including extended classes, without class
TypeScript does that well
you can see an example in their online playground
class A {
constructor(x) {
this.x = x;
}
}
class B extends A {
constructor(foo) {
super(foo);
}
}
const b = new B("bar")
is transpiled to
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var A = /** @class */ (function () {
function A(x) {
this.x = x;
}
return A;
}());
var B = /** @class */ (function (_super) {
__extends(B, _super);
function B(foo) {
return _super.call(this, foo) || this;
}
return B;
}(A));
var b = new B("bar");
and behaves as expected
You should page @ alexmiller for an account - he’s migrating the old Jira to a new instance and I think there is still some balls in the air.
roger, will do
thank you
@filipematossilva this is the new JIRA location https://clojure.atlassian.net/projects/CLJS. nvm the old one redirects there ...
yeah I was looking around there and it didn't seem like you can make an account yet