InMemoryJavaCompiler icon indicating copy to clipboard operation
InMemoryJavaCompiler copied to clipboard

Introduce a result interface to allow extraction of diagnostics

Open ruediste opened this issue 7 years ago • 1 comments

I need access to the individual diagnostics messages. Unfortunately, the only implemented behaviour was to throw an exception when on compile errors/warnings. What do you think?

ruediste avatar May 15 '18 06:05 ruediste

Codecov Report

Merging #19 into master will decrease coverage by 0.04%. The diff coverage is 93.93%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #19      +/-   ##
=======================================
- Coverage   86.04%   86%   -0.05%     
=======================================
  Files           6     6              
  Lines          86   100      +14     
  Branches        8    10       +2     
=======================================
+ Hits           74    86      +12     
- Misses         10    12       +2     
  Partials        2     2
Impacted Files Coverage Δ
...n/java/org/mdkt/compiler/InMemoryJavaCompiler.java 85.71% <93.93%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d84c404...789f9c8. Read the comment docs.

codecov-io avatar May 15 '18 06:05 codecov-io