Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DocumentStartEvent expects "explicit" but we are passing implicit, so…

… invert the flag
  • Loading branch information...
commit 09f3bfa38bf45b0291eb22ecd3cb28d53e5c16d4 1 parent 9030df9
@tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/org/jruby/ext/psych/PsychEmitter.java
View
2  src/org/jruby/ext/psych/PsychEmitter.java
@@ -135,7 +135,7 @@ public IRubyObject start_document(ThreadContext context, IRubyObject version, IR
}
}
- DocumentStartEvent event = new DocumentStartEvent(NULL_MARK, NULL_MARK, implicitBool, versionInts, tagsMap);
+ DocumentStartEvent event = new DocumentStartEvent(NULL_MARK, NULL_MARK, !implicitBool, versionInts, tagsMap);
emit(context, event);
return this;
}
Please sign in to comment.
Something went wrong with that request. Please try again.