mw66

Results 198 comments of mw66

> > > does spoon work on un-compilable source code as input? i.e syntax correct but semantics wrong source code? > > > > > > Yes, we have a...

> > I think this flag should be split into two flags: > > We discussed this and came to the conclusion that we have enough flags and see no...

Tried, same error: ``` $ dub build --compiler=ldmd2 Performing "debug" build using ldmd2 for x86_64. grpc 0.4.0-beta.1: building configuration "library"... /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o:function _start: error: undefined reference to 'main' ... ``` Also...

and I also compared the exact cmd with -v: ``` ~/project/ldc2/bin/dub build -v --compiler=ldmd2 // same build error above ~/project/ldc2/bin/dub build -v --compiler=dmd // successful build ``` except the output...

What do you mean by "wrong command"? It is building a library: (I specifically added: ` "targetType": "library"` to the dub.json) ``` ~/project/contrib/grpc-dlang 16:22:36$ cat dub.json { "name": "grpc", "targetType":...

I don't think I missed it, and I copied the 1 line before the command (it says: building configuration "library"), and 1 line after the command (it's the error: undefined...

@kinke Hi, I realized that I have that exact command line, so I just run that `ldmd2` command directly (*without* using `dub`): """ $ ldmd2 -J -lib -of.dub/build/library-debug-linux.posix-x86_64-ldc_v1.26.0-C3E1A3C9CD32A6FC331A53471EAF68DB/libgrpc.a -debug -g...

I also tried to run the exact command generated by `$ ~/project/ldc2/bin/dub build -v --compiler=ldc2`, directly *without* using `dub`, Same error: $ ldc2 -J -lib -of.dub/build/library-debug-linux.posix-x86_64-ldc_v1.26.0-9DDFB54AD65F3A8BD307F1E232CC37B2/libgrpc.a -d-debug -g -w --oq...

@kinke I've update the dub ticket: https://github.com/dlang/dub/issues/2133, and hopefully dub will fix it not to pass empty `-J`. On the other hand, IIRC LDC share the same front end code...