Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 99c3d2b624db
Choose a base ref
...
head repository: crystal-lang/crystal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ef117af2117b
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 1, 2017

  1. Copy the full SHA
    b16b851 View commit details
  2. Merge pull request #5228 from straight-shoota/jm-json-docs--fix-const…

    …ant-name
    
    Fix: Added missing name field to constant doc json
    jhass authored Nov 1, 2017
    Copy the full SHA
    ef117af View commit details
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/compiler/crystal/tools/doc/constant.cr
1 change: 1 addition & 0 deletions src/compiler/crystal/tools/doc/constant.cr
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@ class Crystal::Doc::Constant

def to_json(builder : JSON::Builder)
builder.object do
builder.field "name", name
builder.field "value", value.try(&.to_s)
builder.field "doc", doc
builder.field "summary", formatted_summary